From 3f1ed2f107d381530312a5f96e108444aec30c17 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Wed, 4 Nov 2026 03:55:17 +0000 Subject: [PATCH] Migrate ckprompt to the vanity module path --- README.md | 7 ++-- docs/consumers/guide.md | 14 ++++---- docs/development.md | 5 +-- docs/internal/overview.md | 7 ++-- docs/roadmap/implementation.md | 9 +++-- examples/core/README.md | 3 +- integrations/ckprompt/README.md | 7 ++-- integrations/ckprompt/adapters.go | 4 +-- integrations/ckprompt/adapters_test.go | 4 +-- integrations/ckprompt/command.go | 4 +-- integrations/ckprompt/command_test.go | 4 +-- .../ckprompt/comparison_composition_test.go | 6 ++-- integrations/ckprompt/completion.go | 2 +- integrations/ckprompt/composition_test.go | 6 ++-- integrations/ckprompt/doc.go | 3 +- integrations/ckprompt/docs/oss/attribution.md | 19 ++++++++-- integrations/ckprompt/docs/releases/v0.2.0.md | 36 +++++++++++++++++++ .../ckprompt/examples/composed/README.md | 16 ++++----- .../ckprompt/examples/composed/main.go | 6 ++-- .../ckprompt/examples/composed/main_test.go | 6 ++-- integrations/ckprompt/go.mod | 6 ++-- integrations/ckprompt/go.sum | 8 ++--- .../ckprompt/native_explanation_test.go | 4 +-- .../ckprompt/report_cancellation_test.go | 2 +- .../ckprompt/requirements_command_test.go | 4 +-- integrations/ckprompt/smoke.go | 4 +-- integrations/ckprompt/smoke_aggregate_test.go | 4 +-- integrations/ckprompt/smoke_command.go | 4 +-- integrations/ckprompt/smoke_command_test.go | 4 +-- integrations/ckprompt/smoke_lifecycle_test.go | 4 +-- integrations/ckprompt/smoke_outcome_test.go | 2 +- integrations/ckprompt/validation.go | 2 +- .../ckprompt/validation_adapters_test.go | 4 +-- integrations/ckprompt/validation_command.go | 2 +- .../ckprompt/validation_command_test.go | 4 +-- 35 files changed, 137 insertions(+), 89 deletions(-) create mode 100644 integrations/ckprompt/docs/releases/v0.2.0.md diff --git a/README.md b/README.md index f5ee084..081fd84 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,10 @@ defines the shared visibility policy. | --- | --- | --- | | `go.maximumdirect.net/commandkit` | `commandkit` | Typed commands, bindings, execution reporting and outcomes, help, and version. | | `go.maximumdirect.net/ckconfig` | `ckconfig` | ConfigKit-backed `config` scopes, including configuration source evidence. | -| `gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt` | `ckprompt` | PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, concrete request validation, and native smoke tests. | +| `go.maximumdirect.net/ckprompt` | `ckprompt` | PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, concrete request validation, and native smoke tests. | -Importing an integration does not install commands. The ckconfig v0.2.0 -candidate uses core v0.3.0; ckprompt still uses the old core identity and cannot -be composed with the new core path until its planned v0.2.0 release. See the +Importing an integration does not install commands. The matched ckconfig and +ckprompt v0.2.0 modules use core v0.3.0. See the [consumer guide](docs/consumers/guide.md#module-selection) for migration details. ## Examples diff --git a/docs/consumers/guide.md b/docs/consumers/guide.md index fe815b8..cf18ed5 100644 --- a/docs/consumers/guide.md +++ b/docs/consumers/guide.md @@ -13,14 +13,14 @@ installed at the application root, not as group children. | --- | --- | | `go.maximumdirect.net/commandkit` | The application needs typed command declarations and common CLI behavior. | | `go.maximumdirect.net/ckconfig` | The application wants ConfigKit-backed configuration scopes and reports. | -| `gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt` | The application wants PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, request validation, or native smoke testing. | +| `go.maximumdirect.net/ckprompt` | The application wants PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, request validation, or native smoke testing. | -The ckconfig v0.2.0 candidate uses core v0.3.0. The ckprompt source still uses -the old core and ckconfig identities; its planned matched v0.2.0 release will -use the new paths. Update application imports and dependency versions together. -Old and new core paths have distinct Go type identities. Install core with -`go get go.maximumdirect.net/commandkit@v0.3.0` and the matching integration -with `go get go.maximumdirect.net/ckconfig@v0.2.0` once it is published. +The matched releases are core v0.3.0, ckconfig v0.2.0, and ckprompt v0.2.0. +Update application imports and dependency versions together; old and new core +paths have distinct Go type identities. Install core with +`go get go.maximumdirect.net/commandkit@v0.3.0` and either integration with +`go get go.maximumdirect.net/ckconfig@v0.2.0` or +`go get go.maximumdirect.net/ckprompt@v0.2.0`. The two integrations are independent optional imports. `ckprompt` uses the public scope and error contracts from `ckconfig`; importing it does not add the diff --git a/docs/development.md b/docs/development.md index 82fafba..3590c72 100644 --- a/docs/development.md +++ b/docs/development.md @@ -99,10 +99,7 @@ Sibling-checkout references in retired planning records are historical review evidence, not build dependencies. Implemented contracts belong in CommandKit under their canonical owners. -The root module does not traverse nested modules. During the vanity-path -migration, ckprompt still imports the old core and ckconfig identities and -cannot compose with the migrated modules until its own migration is complete. After -the matched migrations, during development use a +The root module does not traverse nested modules. During development, use a local workspace for all three modules; it is ignored and must not be committed. If a local `go.work` already exists, preserve it and add these module directories: diff --git a/docs/internal/overview.md b/docs/internal/overview.md index b2d1aeb..975ee8b 100644 --- a/docs/internal/overview.md +++ b/docs/internal/overview.md @@ -6,10 +6,9 @@ own the optional ConfigKit and PromptKit integrations. The [architecture policy](../policy/architecture.md) owns normative boundaries; this page inventories the implemented owners. -The core and ckconfig modules declare `go.maximumdirect.net/commandkit` and -`go.maximumdirect.net/ckconfig`. Ckprompt retains the old module and import -identities until its planned matched release; Go treats those identities as -distinct. +The core, ckconfig, and ckprompt modules declare +`go.maximumdirect.net/commandkit`, `go.maximumdirect.net/ckconfig`, and +`go.maximumdirect.net/ckprompt`, respectively. ## Root `commandkit` diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index ebb8eed..5eeef92 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -1,6 +1,6 @@ # CommandKit vanity migration and dependency alignment plan -Status: Stages 1–4 complete; Stages 5–7 are not started. +Status: Stages 1–5 complete; Stages 6–7 are not started. This plan is for the Luna coding agent implementing the [feature roadmap](integration-dependency-alignment.md). Follow the stages in @@ -253,7 +253,12 @@ identity. Downloading it for ckprompt is the next module's preparation. ## Stage 5: Migrate ckprompt and prepare its independent candidate -**Status:** not started. +**Completed.** Ckprompt declares `go.maximumdirect.net/ckprompt`, uses the +new core and ckconfig imports, and downloaded their v0.3.0 and v0.2.0 releases +with authentic sums. ConfigKit v0.8.0 and PromptKit v0.16.0 remain selected; +attribution records both distinct ReleaseKit tool modules in the resolved +graph. The v0.2.0 note and current consumer guidance are prepared; independent +suite validation follows. 1. Migrate `integrations/ckprompt` to `go.maximumdirect.net/ckprompt`. Update its owned source/tests and composed example to import the new core, ckconfig, diff --git a/examples/core/README.md b/examples/core/README.md index 77830eb..82b600a 100644 --- a/examples/core/README.md +++ b/examples/core/README.md @@ -26,8 +26,7 @@ and try completing `core-example report d` or `core-example ws gr`. Compatible integration factories also return `commandkit.Command` and can be passed directly to `New` beside `commandkit.Alias` or flag-alias declarations. -The ckconfig candidate uses the new core identity; ckprompt will use it in its -planned matched release. For a +The matched ckconfig and ckprompt releases use the new core identity. For a command-only `[]commandkit.Command`, convert its elements into a `[]commandkit.Declaration` before appending routing rules; Go cannot expand the command slice as `...commandkit.Declaration`. The diff --git a/integrations/ckprompt/README.md b/integrations/ckprompt/README.md index 6f1d7c3..62d4e60 100644 --- a/integrations/ckprompt/README.md +++ b/integrations/ckprompt/README.md @@ -7,10 +7,9 @@ Importing it does not install either command family. ## Module -The module path is -`gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt`. Its first -release is prepared as `v0.1.0`. It uses `commandkit`, `ckconfig`, and -PromptKit. See the +The module path is `go.maximumdirect.net/ckprompt`. Version v0.2.0 uses +`go.maximumdirect.net/commandkit v0.3.0`, `go.maximumdirect.net/ckconfig v0.2.0`, +and PromptKit v0.16.0. See the [consumer guide](https://gitea.maximumdirect.net/eric/CommandKit/src/branch/main/docs/consumers/guide.md#promptkit-configuration-and-definitions) for callback, input, state, and acquisition contracts. diff --git a/integrations/ckprompt/adapters.go b/integrations/ckprompt/adapters.go index 5a0b084..eafd2bc 100644 --- a/integrations/ckprompt/adapters.go +++ b/integrations/ckprompt/adapters.go @@ -7,10 +7,10 @@ import ( "io" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) // PromptRequest selects one named prompt for inspection. diff --git a/integrations/ckprompt/adapters_test.go b/integrations/ckprompt/adapters_test.go index e7b7637..ccca776 100644 --- a/integrations/ckprompt/adapters_test.go +++ b/integrations/ckprompt/adapters_test.go @@ -11,10 +11,10 @@ import ( "testing" "testing/fstest" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) const adapterPrompt = `prompts: diff --git a/integrations/ckprompt/command.go b/integrations/ckprompt/command.go index f035418..e50879d 100644 --- a/integrations/ckprompt/command.go +++ b/integrations/ckprompt/command.go @@ -9,9 +9,9 @@ import ( "strconv" "strings" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/command_test.go b/integrations/ckprompt/command_test.go index 3bded88..6ab9770 100644 --- a/integrations/ckprompt/command_test.go +++ b/integrations/ckprompt/command_test.go @@ -10,9 +10,9 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/comparison_composition_test.go b/integrations/ckprompt/comparison_composition_test.go index 7de0b59..03ca25a 100644 --- a/integrations/ckprompt/comparison_composition_test.go +++ b/integrations/ckprompt/comparison_composition_test.go @@ -9,11 +9,11 @@ import ( "testing" "testing/fstest" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + "go.maximumdirect.net/ckprompt" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/completion.go b/integrations/ckprompt/completion.go index 68ca9a6..125d1f1 100644 --- a/integrations/ckprompt/completion.go +++ b/integrations/ckprompt/completion.go @@ -1,6 +1,6 @@ package ckprompt -import commandkit "gitea.maximumdirect.net/eric/CommandKit" +import commandkit "go.maximumdirect.net/commandkit" func completionChoices(values ...string) commandkit.CompletionHint { choices := make([]commandkit.CompletionChoice, len(values)) diff --git a/integrations/ckprompt/composition_test.go b/integrations/ckprompt/composition_test.go index 7e84af7..d0bdbe7 100644 --- a/integrations/ckprompt/composition_test.go +++ b/integrations/ckprompt/composition_test.go @@ -8,11 +8,11 @@ import ( "testing" "testing/fstest" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + "go.maximumdirect.net/ckprompt" + commandkit "go.maximumdirect.net/commandkit" ) type compositionInput struct{ Campaign commandkit.Supplied[string] } diff --git a/integrations/ckprompt/doc.go b/integrations/ckprompt/doc.go index 63472ee..59ea61e 100644 --- a/integrations/ckprompt/doc.go +++ b/integrations/ckprompt/doc.go @@ -1,4 +1,5 @@ -// Package ckprompt provides optional PromptKit configuration comparison, +// Package ckprompt, provided by go.maximumdirect.net/ckprompt, provides optional +// PromptKit configuration comparison, // prompt catalogs, named inspections, requirements discovery and validation, // and native smoke testing for CommandKit. Its command factories return // canonical commandkit.Command declarations. Applications can install diff --git a/integrations/ckprompt/docs/oss/attribution.md b/integrations/ckprompt/docs/oss/attribution.md index 391e693..a80af87 100644 --- a/integrations/ckprompt/docs/oss/attribution.md +++ b/integrations/ckprompt/docs/oss/attribution.md @@ -28,16 +28,29 @@ License and notices: [LGPL v3.0](../../LICENSE) | ## ReleaseKit -Selected module: `gitea.maximumdirect.net/eric/ReleaseKit` at `v0.4.2` (transitive Go tool requirement; not a runtime import). +Selected module: `gitea.maximumdirect.net/eric/ReleaseKit` at `v0.4.1` (transitive Go tool requirement; not a runtime import). Copyright (C) 2026 Eric Rakestraw SPDX-License-Identifier: LGPL-3.0-or-later License and notices: [LGPL v3.0](../../LICENSE) | -[LICENSE](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/7d033c5ca1c95aec7db9690293638a0a1ac887b8/LICENSE). +[LICENSE](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/2d5a8110c61e31daf8698766114ae305d0e0e469/LICENSE). -[Source](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/7d033c5ca1c95aec7db9690293638a0a1ac887b8). +[Source](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/2d5a8110c61e31daf8698766114ae305d0e0e469). + +## ReleaseKit (vanity module) + +Selected module: `go.maximumdirect.net/releasekit` at `v0.9.0` (transitive Go tool requirement; not a runtime import). + +Copyright (C) 2026 Eric Rakestraw + +SPDX-License-Identifier: LGPL-3.0-or-later + +License and notices: [LGPL v3.0](../../LICENSE) | +[LICENSE](https://forge.maximumdirect.net/base-layer/releasekit/src/commit/2180aa868ec2caa95fc8279fd59d5f0ebac41bd4/LICENSE). + +[Source](https://forge.maximumdirect.net/base-layer/releasekit/src/commit/2180aa868ec2caa95fc8279fd59d5f0ebac41bd4). ## JSON Schema diff --git a/integrations/ckprompt/docs/releases/v0.2.0.md b/integrations/ckprompt/docs/releases/v0.2.0.md new file mode 100644 index 0000000..eea8009 --- /dev/null +++ b/integrations/ckprompt/docs/releases/v0.2.0.md @@ -0,0 +1,36 @@ +# CommandKit ckprompt v0.2.0 + +## Summary + +CommandKit ckprompt v0.2.0 moves the PromptKit integration to +`go.maximumdirect.net/ckprompt`. It uses core +`go.maximumdirect.net/commandkit v0.3.0`, +`go.maximumdirect.net/ckconfig v0.2.0`, PromptKit v0.16.0, and ConfigKit v0.8.0. +The integration adopts core's invocation reporting and completion contracts +while preserving PromptKit's inspection, validation, and smoke semantics. + +## Migration + +Replace imports of `gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt` +with `go.maximumdirect.net/ckprompt`; update core and ckconfig imports to +`go.maximumdirect.net/commandkit` and `go.maximumdirect.net/ckconfig`. Select +core v0.3.0 and both integration modules at v0.2.0 as a matched set. Old and +new core paths identify different Go packages and their types cannot be mixed. + +Handlers use `Invocation.Reporter()` for output and categorized messages; +terminal failures carry an explanation and optional cause. The integration +submits provider diagnostics through the reporter, respecting shared reporting +flags. Replace uses of `Invocation.Streams`, `Outcome.Diagnostics`, and the +old error-first failure API as described in the +[core migration guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/v0.3.0/docs/consumers/guide.md#invocation-reporting). +PromptKit commands provide completion hints when the application installs the +core completion command. Command and flag aliases remain application owned. + +Go 1.26.0 remains the consumer minimum. Importing ckprompt installs no commands; +compose configuration scopes and the PromptKit command family explicitly. See +the [module README](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.2.0/integrations/ckprompt/README.md) +and [consumer guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.2.0/docs/consumers/guide.md#promptkit-configuration-and-definitions). + +[COPYRIGHT](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.2.0/integrations/ckprompt/COPYRIGHT) | +[LICENSE](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.2.0/integrations/ckprompt/LICENSE) | +[ATTRIBUTION](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.2.0/integrations/ckprompt/docs/oss/attribution.md) diff --git a/integrations/ckprompt/examples/composed/README.md b/integrations/ckprompt/examples/composed/README.md index e2824b9..41fbc99 100644 --- a/integrations/ckprompt/examples/composed/README.md +++ b/integrations/ckprompt/examples/composed/README.md @@ -1,5 +1,9 @@ # Composed consumer +This example uses `go.maximumdirect.net/commandkit v0.3.0`, +`go.maximumdirect.net/ckconfig v0.2.0`, and +`go.maximumdirect.net/ckprompt v0.2.0`. + This example composes application configuration, PromptKit configuration, PromptKit comparison and catalogs, definition and requirements inspection, and one application-owned command: @@ -121,11 +125,7 @@ the selected campaign but leaves artifact bindings to the operator. The `requirements show` commands remain discovery reports: partial discovery can succeed even when a concrete request would fail validation. -The alias examples use the local CommandKit source because the composed -module's published core dependency, v0.2.0, predates alias declarations. From -the repository root, add the three local modules to `go.work` as described in -the [developer guide](../../../../docs/development.md#documentation-validation), -then run `go test ./...` from this example directory. This checks the example -against the current local core and integration sources; it does not claim that -published v0.2.0 supports aliases. The next core dependency adoption is handled -after the core release is prepared. +Run `GOWORK=off go test ./...` from this example directory to check it against +the module's declared dependencies. A local workspace can instead select the +three current sources, as described in the +[developer guide](../../../../docs/development.md#documentation-validation). diff --git a/integrations/ckprompt/examples/composed/main.go b/integrations/ckprompt/examples/composed/main.go index 02f1599..4586267 100644 --- a/integrations/ckprompt/examples/composed/main.go +++ b/integrations/ckprompt/examples/composed/main.go @@ -8,11 +8,11 @@ import ( "os" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + "go.maximumdirect.net/ckprompt" + commandkit "go.maximumdirect.net/commandkit" ) type campaign struct { diff --git a/integrations/ckprompt/examples/composed/main_test.go b/integrations/ckprompt/examples/composed/main_test.go index 6125b26..0f1214f 100644 --- a/integrations/ckprompt/examples/composed/main_test.go +++ b/integrations/ckprompt/examples/composed/main_test.go @@ -9,11 +9,11 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + "go.maximumdirect.net/ckprompt" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/go.mod b/integrations/ckprompt/go.mod index 9e6bfac..f89ae8e 100644 --- a/integrations/ckprompt/go.mod +++ b/integrations/ckprompt/go.mod @@ -1,10 +1,8 @@ -module gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt +module go.maximumdirect.net/ckprompt go 1.26.0 require ( - gitea.maximumdirect.net/eric/CommandKit v0.2.0 - gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig v0.1.0 gitea.maximumdirect.net/eric/ConfigKit v0.8.0 gitea.maximumdirect.net/eric/promptkit v0.16.0 go.yaml.in/yaml/v4 v4.0.0-rc.6 @@ -15,5 +13,7 @@ require ( github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect github.com/spf13/cobra v1.10.1 // indirect github.com/spf13/pflag v1.0.9 // indirect + go.maximumdirect.net/ckconfig v0.2.0 + go.maximumdirect.net/commandkit v0.3.0 golang.org/x/text v0.14.0 // indirect ) diff --git a/integrations/ckprompt/go.sum b/integrations/ckprompt/go.sum index 678853e..3542612 100644 --- a/integrations/ckprompt/go.sum +++ b/integrations/ckprompt/go.sum @@ -1,7 +1,3 @@ -gitea.maximumdirect.net/eric/CommandKit v0.2.0 h1:UNBjSq6XDZHdPqvZLOL3N5R1E1ol0jnfldgradU7eqw= -gitea.maximumdirect.net/eric/CommandKit v0.2.0/go.mod h1:47DQ6Mo/yZqUVn5PAFRmPck91Zhf1jfaHDMoEZvUzsQ= -gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig v0.1.0 h1:qqgaCKrraUL//1vcoU+KUlQ5PNX0EtRpqsUraSiUW/w= -gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig v0.1.0/go.mod h1:SFtsgbTVQd+BCGQVCFSAopl55pGYhP1sSF442KFpSYA= gitea.maximumdirect.net/eric/ConfigKit v0.8.0 h1:xCIhYnOHjw7rFvB+vIremPKGeROOxKTomnUEUipuQno= gitea.maximumdirect.net/eric/ConfigKit v0.8.0/go.mod h1:C82sbyKHYMV1OwaD2GJanFrwTfcZfjlW2JsGze5b0kA= gitea.maximumdirect.net/eric/promptkit v0.16.0 h1:g3dhN0QfzQriaVOBmGUZCw2iBM9Mli2AAU4CbMfzcuY= @@ -18,6 +14,10 @@ github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s= github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0= github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +go.maximumdirect.net/ckconfig v0.2.0 h1:gcv9Opp9RFgx1cupXq7Uf+P2UWh2FZGYwp+pFY7gmfg= +go.maximumdirect.net/ckconfig v0.2.0/go.mod h1:FR25dNBQCB3rPkmmrccct19SIlbW9mHra6DHx98h10c= +go.maximumdirect.net/commandkit v0.3.0 h1:RCmg2GS8uzlLSJCIqarpn1uFDec0W3ylNNRRPT6kUFE= +go.maximumdirect.net/commandkit v0.3.0/go.mod h1:ZS98DewKNVBygKVDoh5MFD09CnPlP37dS9pVsID5Eoc= go.yaml.in/yaml/v4 v4.0.0-rc.6 h1:1h7H1ohdUh93/FyE4YaDa1Zh64K6VVbjF4K6WUxMtH4= go.yaml.in/yaml/v4 v4.0.0-rc.6/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= diff --git a/integrations/ckprompt/native_explanation_test.go b/integrations/ckprompt/native_explanation_test.go index cc325bf..870fc8d 100644 --- a/integrations/ckprompt/native_explanation_test.go +++ b/integrations/ckprompt/native_explanation_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) func TestBundledNativeFailuresReachTerminalExplanation(t *testing.T) { diff --git a/integrations/ckprompt/report_cancellation_test.go b/integrations/ckprompt/report_cancellation_test.go index 2a27bdd..276e88e 100644 --- a/integrations/ckprompt/report_cancellation_test.go +++ b/integrations/ckprompt/report_cancellation_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + commandkit "go.maximumdirect.net/commandkit" ) type cancelDuringYAML struct{ cancel context.CancelFunc } diff --git a/integrations/ckprompt/requirements_command_test.go b/integrations/ckprompt/requirements_command_test.go index e8de298..6908014 100644 --- a/integrations/ckprompt/requirements_command_test.go +++ b/integrations/ckprompt/requirements_command_test.go @@ -9,9 +9,9 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/smoke.go b/integrations/ckprompt/smoke.go index e679bec..9380cf1 100644 --- a/integrations/ckprompt/smoke.go +++ b/integrations/ckprompt/smoke.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) // SmokeRequest pairs the configuration selection with the seed request for one diff --git a/integrations/ckprompt/smoke_aggregate_test.go b/integrations/ckprompt/smoke_aggregate_test.go index d260d4f..93f149f 100644 --- a/integrations/ckprompt/smoke_aggregate_test.go +++ b/integrations/ckprompt/smoke_aggregate_test.go @@ -8,9 +8,9 @@ import ( "reflect" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/smoke_command.go b/integrations/ckprompt/smoke_command.go index 7259332..63c6836 100644 --- a/integrations/ckprompt/smoke_command.go +++ b/integrations/ckprompt/smoke_command.go @@ -6,9 +6,9 @@ import ( "io" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) type smokeCommandInput[I any] struct { diff --git a/integrations/ckprompt/smoke_command_test.go b/integrations/ckprompt/smoke_command_test.go index ad14aab..69ad59b 100644 --- a/integrations/ckprompt/smoke_command_test.go +++ b/integrations/ckprompt/smoke_command_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/smoke_lifecycle_test.go b/integrations/ckprompt/smoke_lifecycle_test.go index bf22fe6..681fcfa 100644 --- a/integrations/ckprompt/smoke_lifecycle_test.go +++ b/integrations/ckprompt/smoke_lifecycle_test.go @@ -9,9 +9,9 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) func TestSmokeTestCommandRetainsSingletonValuesAndResetsInvocations(t *testing.T) { diff --git a/integrations/ckprompt/smoke_outcome_test.go b/integrations/ckprompt/smoke_outcome_test.go index f22f38f..9c400fb 100644 --- a/integrations/ckprompt/smoke_outcome_test.go +++ b/integrations/ckprompt/smoke_outcome_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckprompt/validation.go b/integrations/ckprompt/validation.go index 4efa7cb..89d030e 100644 --- a/integrations/ckprompt/validation.go +++ b/integrations/ckprompt/validation.go @@ -1,8 +1,8 @@ package ckprompt import ( - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" ) // ValidationRequest carries the configuration selection and seed PromptKit diff --git a/integrations/ckprompt/validation_adapters_test.go b/integrations/ckprompt/validation_adapters_test.go index 37452f0..42b38f6 100644 --- a/integrations/ckprompt/validation_adapters_test.go +++ b/integrations/ckprompt/validation_adapters_test.go @@ -7,10 +7,10 @@ import ( "testing" "testing/fstest" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) type validationFailOnGenerate struct{ calls int } diff --git a/integrations/ckprompt/validation_command.go b/integrations/ckprompt/validation_command.go index 3c5cf4e..6dfad8e 100644 --- a/integrations/ckprompt/validation_command.go +++ b/integrations/ckprompt/validation_command.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - commandkit "gitea.maximumdirect.net/eric/CommandKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + commandkit "go.maximumdirect.net/commandkit" ) type validationCommandInput[I any] struct { diff --git a/integrations/ckprompt/validation_command_test.go b/integrations/ckprompt/validation_command_test.go index 58031f0..5a3b4f0 100644 --- a/integrations/ckprompt/validation_command_test.go +++ b/integrations/ckprompt/validation_command_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" configkit "gitea.maximumdirect.net/eric/ConfigKit" promptkit "gitea.maximumdirect.net/eric/promptkit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" )