@kindgi/cli 0.1.9 → 0.1.10-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +100 -6
  2. package/dist/build/bundle.d.ts +3 -2
  3. package/dist/build/bundle.d.ts.map +1 -1
  4. package/dist/build/bundle.js +3 -2
  5. package/dist/build/bundle.js.map +1 -1
  6. package/dist/build/computed-imports.d.ts +27 -0
  7. package/dist/build/computed-imports.d.ts.map +1 -0
  8. package/dist/build/computed-imports.js +45 -0
  9. package/dist/build/computed-imports.js.map +1 -0
  10. package/dist/build/containerfile.d.ts +2 -2
  11. package/dist/build/containerfile.d.ts.map +1 -1
  12. package/dist/build/containerfile.js +81 -12
  13. package/dist/build/containerfile.js.map +1 -1
  14. package/dist/build/defaults.d.ts +3 -2
  15. package/dist/build/defaults.d.ts.map +1 -1
  16. package/dist/build/defaults.js +28 -6
  17. package/dist/build/defaults.js.map +1 -1
  18. package/dist/build/host-install.d.ts +39 -7
  19. package/dist/build/host-install.d.ts.map +1 -1
  20. package/dist/build/host-install.js +57 -21
  21. package/dist/build/host-install.js.map +1 -1
  22. package/dist/build/image-config.d.ts +6 -0
  23. package/dist/build/image-config.d.ts.map +1 -1
  24. package/dist/build/image-config.js +43 -4
  25. package/dist/build/image-config.js.map +1 -1
  26. package/dist/build/loaded-install-check.d.ts +22 -0
  27. package/dist/build/loaded-install-check.d.ts.map +1 -0
  28. package/dist/build/loaded-install-check.js +240 -0
  29. package/dist/build/loaded-install-check.js.map +1 -0
  30. package/dist/build/loaded-install.d.ts +78 -0
  31. package/dist/build/loaded-install.d.ts.map +1 -0
  32. package/dist/build/loaded-install.js +791 -0
  33. package/dist/build/loaded-install.js.map +1 -0
  34. package/dist/build/runners.d.ts +17 -0
  35. package/dist/build/runners.d.ts.map +1 -1
  36. package/dist/commands/build.d.ts +33 -1
  37. package/dist/commands/build.d.ts.map +1 -1
  38. package/dist/commands/build.js +132 -6
  39. package/dist/commands/build.js.map +1 -1
  40. package/dist/commands/helpers.d.ts +6 -0
  41. package/dist/commands/helpers.d.ts.map +1 -1
  42. package/dist/commands/helpers.js +14 -0
  43. package/dist/commands/helpers.js.map +1 -1
  44. package/dist/commands/index.d.ts.map +1 -1
  45. package/dist/commands/index.js +4 -0
  46. package/dist/commands/index.js.map +1 -1
  47. package/dist/commands/init.js +2 -2
  48. package/dist/commands/init.js.map +1 -1
  49. package/dist/commands/license.d.ts.map +1 -1
  50. package/dist/commands/license.js +12 -7
  51. package/dist/commands/license.js.map +1 -1
  52. package/dist/commands/projects.d.ts.map +1 -1
  53. package/dist/commands/projects.js +1 -15
  54. package/dist/commands/projects.js.map +1 -1
  55. package/dist/commands/sites.d.ts.map +1 -1
  56. package/dist/commands/sites.js +16 -1
  57. package/dist/commands/sites.js.map +1 -1
  58. package/dist/commands/tenant.d.ts +3 -0
  59. package/dist/commands/tenant.d.ts.map +1 -0
  60. package/dist/commands/tenant.js +93 -0
  61. package/dist/commands/tenant.js.map +1 -0
  62. package/dist/commands/usage.d.ts +3 -0
  63. package/dist/commands/usage.d.ts.map +1 -0
  64. package/dist/commands/usage.js +153 -0
  65. package/dist/commands/usage.js.map +1 -0
  66. package/dist/deploy/response.d.ts.map +1 -1
  67. package/dist/deploy/response.js +15 -1
  68. package/dist/deploy/response.js.map +1 -1
  69. package/dist/dev/runtime-image.d.ts +1 -1
  70. package/dist/dev/runtime-image.d.ts.map +1 -1
  71. package/dist/dev/runtime-image.js +1 -1
  72. package/dist/dev/runtime-image.js.map +1 -1
  73. package/dist/exports/plan.d.ts.map +1 -1
  74. package/dist/exports/plan.js +2 -0
  75. package/dist/exports/plan.js.map +1 -1
  76. package/dist/init/dependency-specs.d.ts +3 -1
  77. package/dist/init/dependency-specs.d.ts.map +1 -1
  78. package/dist/init/dependency-specs.js +6 -2
  79. package/dist/init/dependency-specs.js.map +1 -1
  80. package/dist/license/renew.d.ts.map +1 -1
  81. package/dist/license/renew.js +2 -0
  82. package/dist/license/renew.js.map +1 -1
  83. package/dist/sdk-skills/kindgi-authoring-agents/SKILL.md +1 -1
  84. package/dist/sdk-skills/kindgi-authoring-flows/SKILL.md +1 -1
  85. package/dist/sdk-skills/kindgi-authoring-guardrails/SKILL.md +1 -1
  86. package/dist/sdk-skills/kindgi-authoring-mcp-servers/SKILL.md +1 -1
  87. package/dist/sdk-skills/kindgi-authoring-providers/SKILL.md +92 -39
  88. package/dist/sdk-skills/kindgi-authoring-tools/SKILL.md +51 -3
  89. package/dist/sdk-skills/kindgi-framework-feedback/SKILL.md +1 -1
  90. package/dist/sdk-skills/kindgi-getting-started/SKILL.md +23 -4
  91. package/dist/sdk-skills/kindgi-java-authoring-agents/SKILL.md +4 -2
  92. package/dist/sdk-skills/kindgi-java-authoring-flows/SKILL.md +1 -1
  93. package/dist/sdk-skills/kindgi-java-authoring-guardrails/SKILL.md +1 -1
  94. package/dist/sdk-skills/kindgi-java-authoring-tools/SKILL.md +1 -1
  95. package/dist/sdk-skills/kindgi-java-getting-started/SKILL.md +6 -3
  96. package/dist/sdk-skills/kindgi-python-authoring-agents/SKILL.md +1 -1
  97. package/dist/sdk-skills/kindgi-python-authoring-flows/SKILL.md +1 -1
  98. package/dist/sdk-skills/kindgi-python-authoring-guardrails/SKILL.md +1 -1
  99. package/dist/sdk-skills/kindgi-python-authoring-tools/SKILL.md +1 -1
  100. package/dist/sdk-skills/kindgi-python-getting-started/SKILL.md +6 -2
  101. package/dist/sdk-skills/kindgi-scala-authoring-agents/SKILL.md +4 -2
  102. package/dist/sdk-skills/kindgi-scala-authoring-flows/SKILL.md +1 -1
  103. package/dist/sdk-skills/kindgi-scala-authoring-guardrails/SKILL.md +1 -1
  104. package/dist/sdk-skills/kindgi-scala-authoring-tools/SKILL.md +1 -1
  105. package/dist/sdk-skills/kindgi-scala-getting-started/SKILL.md +6 -3
  106. package/dist/sdk-skills/kindgi-using/SKILL.md +1 -1
  107. package/dist/slug.d.ts +8 -1
  108. package/dist/slug.d.ts.map +1 -1
  109. package/dist/slug.js +8 -1
  110. package/dist/slug.js.map +1 -1
  111. package/package.json +13 -13
@@ -16,7 +16,7 @@ description: >
16
16
  type: core
17
17
  library: "kindgi-pack (Java)"
18
18
  version: "0.1.2"
19
- sdk_version: "0.1.9"
19
+ sdk_version: "0.1.10-rc.1"
20
20
  pack_languages: [java]
21
21
  sources:
22
22
  - sdks/java/kindgi-pack/README.md
@@ -17,7 +17,7 @@ description: >
17
17
  type: core
18
18
  library: "kindgi-pack (Java)"
19
19
  version: "0.1.2"
20
- sdk_version: "0.1.9"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [java]
22
22
  sources:
23
23
  - sdks/java/kindgi-pack/README.md
@@ -15,7 +15,7 @@ description: >
15
15
  type: core
16
16
  library: "kindgi-pack (Java)"
17
17
  version: "0.1.3"
18
- sdk_version: "0.1.9"
18
+ sdk_version: "0.1.10-rc.1"
19
19
  pack_languages: [java]
20
20
  sources:
21
21
  - sdks/java/kindgi-pack/README.md
@@ -16,8 +16,8 @@ description: >
16
16
  kindgi-authoring-providers.
17
17
  type: core
18
18
  library: "kindgi-pack (Java)"
19
- version: "0.1.2"
20
- sdk_version: "0.1.9"
19
+ version: "0.1.3"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [java]
22
22
  sources:
23
23
  - sdks/java/kindgi-pack/README.md
@@ -162,7 +162,10 @@ It takes over at the next turn. That registration is in this project's dev
162
162
  database only. To have `kindgi dev` register it on every boot, in every
163
163
  worktree and after `--reset`, declare it in `kindgi.config.json`:
164
164
  `"providers": [{"preset": "anthropic"}]` (its key, `ANTHROPIC_API_KEY`, comes
165
- from the env files). Details and other providers: `kindgi-authoring-providers`.
165
+ from the env files). Commit it: it holds the key's name, never the key, and
166
+ it's how a teammate's `kindgi dev`, or another worktree's, gets the same
167
+ provider. Restart `kindgi dev` after adding it: the config isn't watched.
168
+ Details and other providers: `kindgi-authoring-providers`.
166
169
 
167
170
  To see what Kindgi sees (the index), with no runtime:
168
171
 
@@ -16,7 +16,7 @@ description: >
16
16
  type: core
17
17
  library: "kindgi (Python)"
18
18
  version: "0.1.7"
19
- sdk_version: "0.1.9"
19
+ sdk_version: "0.1.10-rc.1"
20
20
  pack_languages: [python]
21
21
  sources:
22
22
  - sdks/python/src/kindgi/pack/define.py
@@ -17,7 +17,7 @@ description: >
17
17
  type: core
18
18
  library: "kindgi (Python)"
19
19
  version: "0.1.2"
20
- sdk_version: "0.1.9"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [python]
22
22
  sources:
23
23
  - sdks/python/src/kindgi/pack/define.py
@@ -16,7 +16,7 @@ description: >
16
16
  type: core
17
17
  library: "kindgi (Python)"
18
18
  version: "0.1.5"
19
- sdk_version: "0.1.9"
19
+ sdk_version: "0.1.10-rc.1"
20
20
  pack_languages: [python]
21
21
  sources:
22
22
  - sdks/python/src/kindgi/pack/define.py
@@ -15,7 +15,7 @@ description: >
15
15
  type: core
16
16
  library: "kindgi (Python)"
17
17
  version: "0.1.5"
18
- sdk_version: "0.1.9"
18
+ sdk_version: "0.1.10-rc.1"
19
19
  pack_languages: [python]
20
20
  sources:
21
21
  - sdks/python/src/kindgi/pack/define.py
@@ -14,8 +14,8 @@ description: >
14
14
  kindgi-python-authoring-agents; models by kindgi-authoring-providers.
15
15
  type: core
16
16
  library: "kindgi (Python)"
17
- version: "0.1.8"
18
- sdk_version: "0.1.9"
17
+ version: "0.1.9"
18
+ sdk_version: "0.1.10-rc.1"
19
19
  pack_languages: [python]
20
20
  sources:
21
21
  - sdks/python/README.md
@@ -152,6 +152,10 @@ worktree and after `--reset`, declare it in `pyproject.toml` instead:
152
152
  preset = "anthropic" # its key, ANTHROPIC_API_KEY, from the env files
153
153
  ```
154
154
 
155
+ Commit it: it holds the key's name, never the key, and it's how a
156
+ teammate's `kindgi dev`, or another worktree's, gets the same provider.
157
+ Restart `kindgi dev` after adding it: the config isn't watched.
158
+
155
159
  Details and other providers: `kindgi-authoring-providers`.
156
160
 
157
161
  `uv run python -m kindgi.pack index --pack-dir .` prints what Kindgi
@@ -16,8 +16,8 @@ description: >
16
16
  kindgi-authoring-providers.
17
17
  type: core
18
18
  library: "kindgi-pack-scala"
19
- version: "0.1.3"
20
- sdk_version: "0.1.9"
19
+ version: "0.1.4"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [scala]
22
22
  sources:
23
23
  - sdks/scala/README.md
@@ -190,6 +190,8 @@ input, and can't give a typed answer: an agent with an output type fails
190
190
  with `output-schema-violation` until a real model is registered. To register
191
191
  one, see `kindgi-authoring-providers` (`./kindgiw providers register --preset=anthropic`,
192
192
  or `"providers": [{"preset": "anthropic"}]` in `kindgi.config.json`).
193
+ Commit the declaration: it holds the key's name, never the key, and it's how
194
+ a teammate's `kindgi dev`, or another worktree's, gets the same provider.
193
195
 
194
196
  ## Iterating
195
197
 
@@ -17,7 +17,7 @@ description: >
17
17
  type: core
18
18
  library: "kindgi-pack-scala"
19
19
  version: "0.1.2"
20
- sdk_version: "0.1.9"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [scala]
22
22
  sources:
23
23
  - sdks/scala/README.md
@@ -18,7 +18,7 @@ description: >
18
18
  type: core
19
19
  library: "kindgi-pack-scala"
20
20
  version: "0.1.2"
21
- sdk_version: "0.1.9"
21
+ sdk_version: "0.1.10-rc.1"
22
22
  pack_languages: [scala]
23
23
  sources:
24
24
  - sdks/scala/README.md
@@ -16,7 +16,7 @@ description: >
16
16
  type: core
17
17
  library: "kindgi-pack-scala"
18
18
  version: "0.1.3"
19
- sdk_version: "0.1.9"
19
+ sdk_version: "0.1.10-rc.1"
20
20
  pack_languages: [scala]
21
21
  sources:
22
22
  - sdks/scala/README.md
@@ -16,8 +16,8 @@ description: >
16
16
  kindgi-authoring-providers.
17
17
  type: core
18
18
  library: "kindgi-pack-scala"
19
- version: "0.1.2"
20
- sdk_version: "0.1.9"
19
+ version: "0.1.3"
20
+ sdk_version: "0.1.10-rc.1"
21
21
  pack_languages: [scala]
22
22
  sources:
23
23
  - sdks/scala/README.md
@@ -174,7 +174,10 @@ It takes over at the next turn. That registration is in this project's dev
174
174
  database only. To have `kindgi dev` register it on every boot, in every
175
175
  worktree and after `--reset`, declare it in `kindgi.config.json`:
176
176
  `"providers": [{"preset": "anthropic"}]` (its key, `ANTHROPIC_API_KEY`, comes
177
- from the env files). Details and other providers: `kindgi-authoring-providers`.
177
+ from the env files). Commit it: it holds the key's name, never the key, and
178
+ it's how a teammate's `kindgi dev`, or another worktree's, gets the same
179
+ provider. Restart `kindgi dev` after adding it: the config isn't watched.
180
+ Details and other providers: `kindgi-authoring-providers`.
178
181
 
179
182
  To see what Kindgi sees (the index), with no runtime:
180
183
 
@@ -15,7 +15,7 @@ description: >
15
15
  type: core
16
16
  library: "@kindgi/sdk"
17
17
  version: "0.1.0"
18
- sdk_version: "0.1.9"
18
+ sdk_version: "0.1.10-rc.1"
19
19
  pack_languages: [node, python, java, scala]
20
20
  ---
21
21
 
package/dist/slug.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * A project's slug, as the CLI makes and sends one: `kindgi projects create`
3
- * and `rename`, and the way `kindgi deploy` says how to make one.
3
+ * and `rename`, and the way `kindgi deploy` says how to make one; and a
4
+ * workspace's, as `kindgi tenant rename` sends one.
4
5
  */
5
6
  /**
6
7
  * The slugs the CLI sends: lowercase letters, digits and hyphens, starting
@@ -9,6 +10,12 @@
9
10
  * `kindgi deploy --project <id|slug>` take as they are.
10
11
  */
11
12
  export declare const SLUG: RegExp;
13
+ /**
14
+ * A workspace's slug, as `kindgi tenant rename` sends one: the server's own
15
+ * rule for a tenant's slug. Lowercase letters, digits and single hyphens,
16
+ * starting and ending with a letter or digit, at most 63 characters.
17
+ */
18
+ export declare const TENANT_SLUG: RegExp;
12
19
  /**
13
20
  * A name as a slug: lowercase letters and digits, each run of anything else
14
21
  * one `-`, none at either end, at most 63 characters. An accent goes, not
@@ -1 +1 @@
1
- {"version":3,"file":"slug.d.ts","sourceRoot":"","sources":["../src/slug.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,IAAI,QAA8B,CAAC;AAEhD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAS3C"}
1
+ {"version":3,"file":"slug.d.ts","sourceRoot":"","sources":["../src/slug.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,IAAI,QAA8B,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAA0C,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAS3C"}
package/dist/slug.js CHANGED
@@ -2,7 +2,8 @@
2
2
  // Copyright (C) 2026 Kindgi Inc.
3
3
  /**
4
4
  * A project's slug, as the CLI makes and sends one: `kindgi projects create`
5
- * and `rename`, and the way `kindgi deploy` says how to make one.
5
+ * and `rename`, and the way `kindgi deploy` says how to make one; and a
6
+ * workspace's, as `kindgi tenant rename` sends one.
6
7
  */
7
8
  /**
8
9
  * The slugs the CLI sends: lowercase letters, digits and hyphens, starting
@@ -11,6 +12,12 @@
11
12
  * `kindgi deploy --project <id|slug>` take as they are.
12
13
  */
13
14
  export const SLUG = /^[a-z0-9][a-z0-9-]{0,62}$/;
15
+ /**
16
+ * A workspace's slug, as `kindgi tenant rename` sends one: the server's own
17
+ * rule for a tenant's slug. Lowercase letters, digits and single hyphens,
18
+ * starting and ending with a letter or digit, at most 63 characters.
19
+ */
20
+ export const TENANT_SLUG = /^(?=.{1,63}$)[a-z0-9](?:-?[a-z0-9])*$/;
14
21
  /**
15
22
  * A name as a slug: lowercase letters and digits, each run of anything else
16
23
  * one `-`, none at either end, at most 63 characters. An accent goes, not
package/dist/slug.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"slug.js","sourceRoot":"","sources":["../src/slug.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,iCAAiC;AAEjC;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,2BAA2B,CAAC;AAEhD;;;;GAIG;AACH,MAAM,UAAU,MAAM,CAAC,IAAY;IACjC,OAAO,IAAI;SACR,SAAS,CAAC,MAAM,CAAC;SACjB,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;SACtB,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;SACvB,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;SACZ,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACxB,CAAC"}
1
+ {"version":3,"file":"slug.js","sourceRoot":"","sources":["../src/slug.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,iCAAiC;AAEjC;;;;GAIG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,2BAA2B,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,uCAAuC,CAAC;AAEnE;;;;GAIG;AACH,MAAM,UAAU,MAAM,CAAC,IAAY;IACjC,OAAO,IAAI;SACR,SAAS,CAAC,MAAM,CAAC;SACjB,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;SACtB,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;SACvB,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;SACZ,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kindgi/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10-rc.1",
4
4
  "description": "Command-line interface for Kindgi™. Create a pack, run it on your machine (`kindgi dev`), build, sign and deploy it, and work with a running Kindgi API from the terminal.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -37,18 +37,18 @@
37
37
  "provenance": true
38
38
  },
39
39
  "dependencies": {
40
- "@kindgi/agents": "0.1.9",
41
- "@kindgi/client": "0.1.9",
42
- "@kindgi/dotenv-file": "0.1.9",
43
- "@kindgi/crypto": "0.1.9",
44
- "@kindgi/env-schema": "0.1.9",
45
- "@kindgi/flow": "0.1.9",
46
- "@kindgi/handler-runtime": "0.1.9",
47
- "@kindgi/log": "0.1.9",
48
- "@kindgi/secrets-dotenv": "0.1.9",
49
- "@kindgi/platform": "0.1.9",
50
- "@kindgi/sdk": "0.1.9",
51
- "@kindgi/types": "0.1.9",
40
+ "@kindgi/agents": "0.1.10-rc.1",
41
+ "@kindgi/client": "0.1.10-rc.1",
42
+ "@kindgi/dotenv-file": "0.1.10-rc.1",
43
+ "@kindgi/crypto": "0.1.10-rc.1",
44
+ "@kindgi/env-schema": "0.1.10-rc.1",
45
+ "@kindgi/flow": "0.1.10-rc.1",
46
+ "@kindgi/handler-runtime": "0.1.10-rc.1",
47
+ "@kindgi/log": "0.1.10-rc.1",
48
+ "@kindgi/secrets-dotenv": "0.1.10-rc.1",
49
+ "@kindgi/platform": "0.1.10-rc.1",
50
+ "@kindgi/sdk": "0.1.10-rc.1",
51
+ "@kindgi/types": "0.1.10-rc.1",
52
52
  "esbuild": "^0.24.0",
53
53
  "semver": "^7.8.5",
54
54
  "smol-toml": "^1.9.0",