@kindgi/cli 0.3.0 → 0.3.1-rc.0
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.
- package/dist/deploy/response.d.ts.map +1 -1
- package/dist/deploy/response.js +16 -3
- package/dist/deploy/response.js.map +1 -1
- package/dist/dev/runtime-image.d.ts +1 -1
- package/dist/dev/runtime-image.d.ts.map +1 -1
- package/dist/dev/runtime-image.js +1 -1
- package/dist/dev/runtime-image.js.map +1 -1
- package/dist/sdk-skills/kindgi-authoring-agents/SKILL.md +15 -2
- package/dist/sdk-skills/kindgi-authoring-flows/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-authoring-guardrails/SKILL.md +8 -7
- package/dist/sdk-skills/kindgi-authoring-mcp-servers/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-authoring-providers/SKILL.md +3 -3
- package/dist/sdk-skills/kindgi-authoring-providers/keys-and-registration.md +12 -0
- package/dist/sdk-skills/kindgi-authoring-providers/path-a-anthropic.md +4 -2
- package/dist/sdk-skills/kindgi-authoring-providers/path-b-openai-compat.md +5 -0
- package/dist/sdk-skills/kindgi-authoring-tools/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-fix-corrections/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-framework-feedback/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-getting-started/SKILL.md +17 -2
- package/dist/sdk-skills/kindgi-java-authoring-agents/SKILL.md +16 -2
- package/dist/sdk-skills/kindgi-java-authoring-flows/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-java-authoring-guardrails/SKILL.md +8 -3
- package/dist/sdk-skills/kindgi-java-authoring-tools/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-java-getting-started/SKILL.md +17 -2
- package/dist/sdk-skills/kindgi-python-authoring-agents/SKILL.md +16 -2
- package/dist/sdk-skills/kindgi-python-authoring-flows/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-python-authoring-guardrails/SKILL.md +8 -3
- package/dist/sdk-skills/kindgi-python-authoring-tools/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-python-getting-started/SKILL.md +17 -2
- package/dist/sdk-skills/kindgi-scala-authoring-agents/SKILL.md +16 -2
- package/dist/sdk-skills/kindgi-scala-authoring-flows/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-scala-authoring-guardrails/SKILL.md +8 -3
- package/dist/sdk-skills/kindgi-scala-authoring-tools/SKILL.md +1 -1
- package/dist/sdk-skills/kindgi-scala-getting-started/SKILL.md +17 -2
- package/dist/sdk-skills/kindgi-using/SKILL.md +1 -1
- package/dist/templates/drupal/AGENTS.md +9 -0
- package/dist/templates/follow-up/AGENTS.md +9 -0
- package/dist/templates/java/AGENTS.md +8 -0
- package/dist/templates/minimal/AGENTS.md +9 -0
- package/dist/templates/python/AGENTS.md +8 -0
- package/dist/templates/sample/AGENTS.md +9 -0
- package/dist/templates/scala/AGENTS.md +8 -0
- package/dist/templates/woocommerce/AGENTS.md +9 -0
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../src/deploy/response.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA0GlG,MAAM,WAAW,gBAAgB;IAC/B,4CAA4C;IAC5C,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,wEAAwE;IACxE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACjD,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,oBAAoB,EAC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,GAAG,EAAE;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC;QAC7B,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,2GAA2G;IAC3G,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,CAAC;CAC/D,GACA,gBAAgB,CA2FlB;AA+BD;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,MAAM,EACtB,OAAO,EAAE,SAAS,qBAAqB,EAAE,GACxC,MAAM,EAAE,CAcV;AA4CD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,GAAG,MAAM,CAOxE"}
|
package/dist/deploy/response.js
CHANGED
|
@@ -108,15 +108,14 @@ export function renderResponse(result, ctx) {
|
|
|
108
108
|
banner.push(` Note: answered from the server's record of an earlier request with this Idempotency-Key (${ctx.idempotencyKey}); nothing ran again.`);
|
|
109
109
|
}
|
|
110
110
|
if (result.kind === 'replayed') {
|
|
111
|
-
banner.push(
|
|
112
|
-
banner.push(` Runs already in flight continue on their pinned image (${result.record.imageDigest.slice(0, 20)}…).`);
|
|
111
|
+
banner.push(` Note: same imageDigest (${result.record.imageDigest.slice(0, 20)}…) previously landed. Server returned the existing record.`);
|
|
113
112
|
}
|
|
114
113
|
else {
|
|
115
114
|
banner.push(' Deploy complete.');
|
|
116
115
|
banner.push(` Runs started from now use image ${result.record.imageDigest.slice(0, 20)}… ` +
|
|
117
116
|
`(artifactVersion ${result.record.artifactVersion}).`);
|
|
118
|
-
banner.push(' Runs already in flight continue on their pinned image.');
|
|
119
117
|
}
|
|
118
|
+
banner.push(inFlightLine(result.record));
|
|
120
119
|
banner.push('');
|
|
121
120
|
const summary = {
|
|
122
121
|
envName: ctx.envName,
|
|
@@ -223,6 +222,20 @@ function whyRenumbered(kind, e) {
|
|
|
223
222
|
}
|
|
224
223
|
return `${e.authoredVersion} is taken by a different definition`;
|
|
225
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* Where a run already in flight sends its tool calls now. A record with a
|
|
227
|
+
* pack service of its own (`endpoint`) is on a runtime that routes per
|
|
228
|
+
* deployment: each call goes to the newest deployment that shipped the
|
|
229
|
+
* version it names, so a deploy that bumps a tool's version leaves the older
|
|
230
|
+
* one serving the runs that name it. Without one, the runtime has a single
|
|
231
|
+
* pack service, which runs one build whatever version a call names (or the
|
|
232
|
+
* deployment ships no pack code, so the line names the case it's about).
|
|
233
|
+
*/
|
|
234
|
+
function inFlightLine(record) {
|
|
235
|
+
return record.endpoint !== undefined
|
|
236
|
+
? ' Runs already in flight keep their tool versions: each tool call goes to the newest deployment that shipped the version it names.'
|
|
237
|
+
: " With one pack service, runs already in flight call that service's current build, as new runs do: a call naming a tool version that build doesn't have fails with tool-version-mismatch.";
|
|
238
|
+
}
|
|
226
239
|
/** `versionLines` for a deployment's agents then flows, followed by a blank line; none when there are none. */
|
|
227
240
|
function versionBlock(contents) {
|
|
228
241
|
const lines = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../src/deploy/response.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,iCAAiC;AAEjC;;;;;GAKG;AAE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C,CAAC;AAC1B,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,KAAa,EAAE,MAAc;IAChE,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,OAAO,GAAG,MAAM,CAAC;IACrB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,KAAK,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;YACnE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpB,OAAO,GAAG,MAAM,CAAC;QACnB,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IACpD,CAAC;IACD,IAAI,OAAO,KAAK,MAAM;QAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* from signing in at access.kindgi.com (`KINDGI_ACCESS_ORIGIN`) is the
|
|
11
11
|
* password: `docker login registry.kindgi.com --username kindgi`.
|
|
12
12
|
*/
|
|
13
|
-
export declare const DEFAULT_RUNTIME_IMAGE = "registry.kindgi.com/kindgi/runtime:0.3.0@sha256:
|
|
13
|
+
export declare const DEFAULT_RUNTIME_IMAGE = "registry.kindgi.com/kindgi/runtime:0.3.1-rc.0@sha256:dc17c66e4b23e06107e33b49b142219e8083a6d4e1c30abf5d9082ea5bdcb279";
|
|
14
14
|
/**
|
|
15
15
|
* The registry an image reference is pulled from, read the way Docker
|
|
16
16
|
* reads it: the first path component when it names a host (it has a `.`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-image.d.ts","sourceRoot":"","sources":["../../src/dev/runtime-image.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"runtime-image.d.ts","sourceRoot":"","sources":["../../src/dev/runtime-image.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,0HACuF,CAAC;AAK1H;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKhD;AAED,iGAAiG;AACjG,eAAO,MAAM,sBAAsB,QAAoC,CAAC;AAExE;;;;GAIG;AACH,eAAO,MAAM,eAAe,wBAAwB,CAAC;AAErD,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAEjD,wFAAwF;AACxF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAOvE"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* from signing in at access.kindgi.com (`KINDGI_ACCESS_ORIGIN`) is the
|
|
13
13
|
* password: `docker login registry.kindgi.com --username kindgi`.
|
|
14
14
|
*/
|
|
15
|
-
export const DEFAULT_RUNTIME_IMAGE = 'registry.kindgi.com/kindgi/runtime:0.3.0@sha256:
|
|
15
|
+
export const DEFAULT_RUNTIME_IMAGE = 'registry.kindgi.com/kindgi/runtime:0.3.1-rc.0@sha256:dc17c66e4b23e06107e33b49b142219e8083a6d4e1c30abf5d9082ea5bdcb279';
|
|
16
16
|
/** Docker Hub, the registry of a reference that names none (`busybox`, `library/busybox`). */
|
|
17
17
|
const DOCKER_HUB = 'docker.io';
|
|
18
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-image.js","sourceRoot":"","sources":["../../src/dev/runtime-image.ts"],"names":[],"mappings":"AAAA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AAI,GAAG,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IACnC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACzD,sDAAsD;IACtD,OAAO,GAAG,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AACnF,CAAC"}
|
|
@@ -12,8 +12,8 @@ description: >
|
|
|
12
12
|
kindgi-authoring-guardrails.
|
|
13
13
|
type: core
|
|
14
14
|
library: "@kindgi/sdk"
|
|
15
|
-
version: "0.4.
|
|
16
|
-
sdk_version: "0.3.0"
|
|
15
|
+
version: "0.4.11"
|
|
16
|
+
sdk_version: "0.3.1-rc.0"
|
|
17
17
|
pack_languages: [node]
|
|
18
18
|
sources:
|
|
19
19
|
- packages/agents/src/types.ts
|
|
@@ -131,6 +131,19 @@ export default defined.value;
|
|
|
131
131
|
`(provider, model)` tuples whose model matches. To require a model
|
|
132
132
|
rather than prefer it, add a hard requirement to the capability:
|
|
133
133
|
`capabilities: [{ needs: [{ feature: 'tool-use' }, { models: { allow: ['gemini-3.8-flash'] } }] }]`.
|
|
134
|
+
- **`modelSettings`** — optional: a model-settings block by range,
|
|
135
|
+
`{ id: 'acme.reply-model', version: '^1.0.0' }`. It's a settings block,
|
|
136
|
+
such as `blocks/reply-model.json`, whose values may set `temperature`,
|
|
137
|
+
`maxOutputTokens` and `thinking`:
|
|
138
|
+
`{ "id": "acme.reply-model", "version": "1.0.0", "kind": "settings", "content": { "values": { "thinking": "low" } } }`.
|
|
139
|
+
**How much the model thinks** (runtime 0.3.0 or later; an older one
|
|
140
|
+
refuses a block with `thinking`): the block's `thinking` (`lowest`,
|
|
141
|
+
`minimal`, `low`, `medium`, `high`, `xhigh` or `max`); else the
|
|
142
|
+
`thinking.default` the model's provider registration gives it (see
|
|
143
|
+
`kindgi-authoring-providers`); else no level, and the model thinks as its
|
|
144
|
+
vendor sets. A level the model doesn't take goes as the next one up that
|
|
145
|
+
it takes, or its highest, with a `thinking-level-adjusted` warning. A
|
|
146
|
+
guardrail's or an eval's model judge asks for `lowest`.
|
|
134
147
|
- **`conversationPolicy`** — optional. Absent = each turn loads the
|
|
135
148
|
conversation's full history and no HITL gates apply. `historyLimit`
|
|
136
149
|
caps how many prior messages are loaded; `hitl` configures approval
|
|
@@ -18,8 +18,8 @@ description: >
|
|
|
18
18
|
kindgi-authoring-agents.
|
|
19
19
|
type: core
|
|
20
20
|
library: "@kindgi/sdk"
|
|
21
|
-
version: "0.4.
|
|
22
|
-
sdk_version: "0.3.0"
|
|
21
|
+
version: "0.4.1"
|
|
22
|
+
sdk_version: "0.3.1-rc.0"
|
|
23
23
|
pack_languages: [node]
|
|
24
24
|
sources:
|
|
25
25
|
- packages/guardrails/src/types.ts
|
|
@@ -181,17 +181,18 @@ How the pack tooling reads this file:
|
|
|
181
181
|
- The **indexer** (`packages/handler-runtime/src/kindgi-index.ts`)
|
|
182
182
|
recognises a guardrail by a default export with a `kind` and an
|
|
183
183
|
`action` object carrying `on-violation`. It records `id`, `name`,
|
|
184
|
-
`kind`, `action`, `severity`, `scope`, `at`, `sees`, `budget`,
|
|
185
|
-
`limits` / `network`, and the check: its id (`check` may be the check
|
|
184
|
+
`kind`, `action`, `severity`, `scope`, `at`, `sees`, `budget`,
|
|
185
|
+
`judgeCapabilities`, `sandbox` / `limits` / `network`, and the check: its id (`check` may be the check
|
|
186
186
|
id as a string, or the check object), its points (`checkPoints`, for a
|
|
187
187
|
check the module ships) and its config schema (from the check's
|
|
188
188
|
`configZod`, `configSchema` or `configJsonSchema`, or a top-level
|
|
189
189
|
`configZod` / `configSchema`), and the declaration's `config` — what
|
|
190
|
-
the check runs with. It does not record `description`
|
|
191
|
-
`judgeCapabilities`. It checks `config` (none counts as `{}`) against
|
|
190
|
+
the check runs with. It does not record `description`. It checks `config` (none counts as `{}`) against
|
|
192
191
|
the config schema: a config that doesn't fit, or a required field with
|
|
193
192
|
no default left out, is a file error naming where, and `kindgi build`
|
|
194
|
-
refuses the pack. It also refuses an `
|
|
193
|
+
refuses the pack. It also refuses an `llm-judge` guardrail with no
|
|
194
|
+
`judgeCapabilities` (the runtime would refuse it on every turn), an
|
|
195
|
+
`at` it doesn't know, a malformed
|
|
195
196
|
`scope.tools` or `points`, what a point can't do in the deploy's paths
|
|
196
197
|
and words (`guardrail <id>: /action/on-violation: "escalate" is
|
|
197
198
|
recorded at the final answer only, not at "before-tool"`, and
|
|
@@ -18,8 +18,8 @@ description: >
|
|
|
18
18
|
steps are kindgi-getting-started.
|
|
19
19
|
type: core
|
|
20
20
|
library: "@kindgi/sdk"
|
|
21
|
-
version: "0.10.
|
|
22
|
-
sdk_version: "0.3.0"
|
|
21
|
+
version: "0.10.2"
|
|
22
|
+
sdk_version: "0.3.1-rc.0"
|
|
23
23
|
pack_languages: [node, python, java, scala]
|
|
24
24
|
sources:
|
|
25
25
|
- packages/adapters/model-anthropic/src/provider.ts
|
|
@@ -75,7 +75,7 @@ with nothing else to change. This skill covers wiring a real one.
|
|
|
75
75
|
| Gemini on Vertex AI, signed in with Application Default Credentials | [path-d-vertex.md](path-d-vertex.md) |
|
|
76
76
|
| Amazon Bedrock | [bedrock.md](bedrock.md) |
|
|
77
77
|
| The pack on Kindgi Cloud: the key and the provider on `prod` | [kindgi-cloud.md](kindgi-cloud.md) |
|
|
78
|
-
| Where keys are read from, the registration body, fallbacks | [keys-and-registration.md](keys-and-registration.md) |
|
|
78
|
+
| Where keys are read from, the registration body, fallbacks, a model's thinking level | [keys-and-registration.md](keys-and-registration.md) |
|
|
79
79
|
| Several providers or models: which one answers | [router.md](router.md) |
|
|
80
80
|
| An error, or replies still from dev-echo | [common-mistakes.md](common-mistakes.md) |
|
|
81
81
|
|
|
@@ -51,6 +51,18 @@ credential in `adapter_config`.
|
|
|
51
51
|
`features`) live inside `metadata.models[]`. One row can expose many models
|
|
52
52
|
under the same API key.
|
|
53
53
|
|
|
54
|
+
**Thinking:** a model that thinks has `thinking` in its entry:
|
|
55
|
+
`{ "mode": "adaptive", "lowest": "low", "default": "low" }`. `lowest` is
|
|
56
|
+
the vendor's own setting for the least thinking, and optional `levels`
|
|
57
|
+
lists the others it takes. `default` (optional) is the level a call that
|
|
58
|
+
asks none is sent: `lowest` or one of its levels, else the registration is
|
|
59
|
+
refused, naming the ones it takes. It needs runtime 0.3.0 or later; an
|
|
60
|
+
older one refuses it. The registration is per tenant, so each tenant's
|
|
61
|
+
registration sets its own. An agent's model-settings `thinking` wins over
|
|
62
|
+
it, and without either the call sends no level, so the model thinks as its
|
|
63
|
+
vendor sets. A guardrail's or an eval's model judge asks for `lowest`. The
|
|
64
|
+
presets set no `default`: for one, register the model as a spec.
|
|
65
|
+
|
|
54
66
|
**Fallbacks:** `"fallback": true` in `metadata` makes a provider a
|
|
55
67
|
fallback — the router considers it only when no other provider satisfies
|
|
56
68
|
the agent's capability, and the turn's result then carries a
|
|
@@ -97,8 +97,10 @@ the call goes without it, with a `sampling-unsupported` warning), and a
|
|
|
97
97
|
model's `thinking` says how it thinks and the levels it takes (the presets
|
|
98
98
|
list each model's). An agent asks for a level with `thinking` in its model
|
|
99
99
|
settings; one the model doesn't take is rounded up, or to its highest, with
|
|
100
|
-
a `thinking-level-adjusted` warning.
|
|
101
|
-
`
|
|
100
|
+
a `thinking-level-adjusted` warning. A call that asks none is sent the
|
|
101
|
+
model's `thinking.default`, which no preset sets, so it thinks as the
|
|
102
|
+
vendor sets unless your own spec gives one (runtime 0.3.0 or later).
|
|
103
|
+
Thinking counts against `maxOutputTokens` and bills as output.
|
|
102
104
|
The preset carries the models, context windows, default output caps (what
|
|
103
105
|
a call asks for when its agent sets no `maxOutputTokens`; not the model's own
|
|
104
106
|
limit) and current prices (`kindgi providers presets` lists the presets and
|
|
@@ -66,6 +66,11 @@ kindgi secrets set GROQ_API_KEY --env=local --scope=tenant
|
|
|
66
66
|
}
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
+
A model that thinks takes `"thinking": { "mode": "adaptive", "lowest": "low",
|
|
70
|
+
"default": "low" }` in its entry, `lowest` being its server's least
|
|
71
|
+
reasoning effort. `default` is the level a call that asks none is sent
|
|
72
|
+
(runtime 0.3.0 or later); an agent's model-settings `thinking` wins over it.
|
|
73
|
+
|
|
69
74
|
**Steps 3 to 5 — register, verify, run:**
|
|
70
75
|
```sh
|
|
71
76
|
kindgi providers register --spec=@provider.json
|
|
@@ -16,8 +16,8 @@ description: >
|
|
|
16
16
|
primitive.
|
|
17
17
|
type: core
|
|
18
18
|
library: "@kindgi/sdk"
|
|
19
|
-
version: "0.3.
|
|
20
|
-
sdk_version: "0.3.0"
|
|
19
|
+
version: "0.3.20"
|
|
20
|
+
sdk_version: "0.3.1-rc.0"
|
|
21
21
|
pack_languages: [node]
|
|
22
22
|
---
|
|
23
23
|
|
|
@@ -135,6 +135,21 @@ terminal, say), `kindgi dev` exits with code 3 and prints where it is
|
|
|
135
135
|
(its pid, the console and the API): use that one. Don't start another,
|
|
136
136
|
and don't stop theirs.
|
|
137
137
|
|
|
138
|
+
Each linked git worktree runs its own `kindgi dev`, side by side, with its
|
|
139
|
+
own dev tenant, user and token. In the bundled Postgres it has its own
|
|
140
|
+
database too, `kindgi_<project>__<worktree>`, and its tenant and user are
|
|
141
|
+
named from it; with your own (`--database-url` or `KINDGI_DATABASE_URL`),
|
|
142
|
+
it uses that one. Its `.kindgirc.json`, which `kindgi init` keeps out of
|
|
143
|
+
git, keeps the token, the tenant and the user. When port 4000 is taken
|
|
144
|
+
(another worktree's `kindgi dev`), it takes the next free one and says so,
|
|
145
|
+
`⚠ port 4000 is in use (another kindgi dev?): using 4001`; that
|
|
146
|
+
worktree's `.kindgirc.json` records it, so the CLI there follows. Read the
|
|
147
|
+
API URL from the banner or `.kindgirc.json`, never assume 4000. A
|
|
148
|
+
`--port` that's taken is refused. The providers the config declares are
|
|
149
|
+
registered in each worktree as it starts. One registered by hand belongs
|
|
150
|
+
to one worktree, and so does an env file git doesn't track, such as
|
|
151
|
+
`.env.local`: copy it into a new worktree.
|
|
152
|
+
|
|
138
153
|
Give the person the console's address as the banner prints it (its
|
|
139
154
|
`Console` line). Never guess a console URL: an approval's own link is
|
|
140
155
|
`/console/approvals/<approval id>`, which finds its tenant and project by
|
|
@@ -15,8 +15,8 @@ description: >
|
|
|
15
15
|
kindgi-authoring-providers.
|
|
16
16
|
type: core
|
|
17
17
|
library: "kindgi-pack (Java)"
|
|
18
|
-
version: "0.1.
|
|
19
|
-
sdk_version: "0.3.0"
|
|
18
|
+
version: "0.1.6"
|
|
19
|
+
sdk_version: "0.3.1-rc.0"
|
|
20
20
|
pack_languages: [java]
|
|
21
21
|
sources:
|
|
22
22
|
- sdks/java/kindgi-pack/README.md
|
|
@@ -203,6 +203,20 @@ or `"providers": [{"preset": "anthropic"}]` in `kindgi.config.json`).
|
|
|
203
203
|
Commit the declaration: it holds the key's name, never the key, and it's how
|
|
204
204
|
a teammate's `kindgi dev`, or another worktree's, gets the same provider.
|
|
205
205
|
|
|
206
|
+
**How much the model thinks** (runtime 0.3.0 or later; an older one
|
|
207
|
+
refuses a block with `thinking`): the agent names a model-settings block with
|
|
208
|
+
`set("modelSettings", Map.of("id", "acme.reply-model", "version", "^1.0.0"))`.
|
|
209
|
+
It's a settings block, such as `blocks/reply-model.json`, whose values may
|
|
210
|
+
set `temperature`, `maxOutputTokens` and `thinking`:
|
|
211
|
+
`{ "id": "acme.reply-model", "version": "1.0.0", "kind": "settings", "content": { "values": { "thinking": "low" } } }`.
|
|
212
|
+
The block's `thinking` (`lowest`, `minimal`, `low`, `medium`, `high`,
|
|
213
|
+
`xhigh` or `max`) is sent; else the `thinking.default` the model's provider
|
|
214
|
+
registration gives it (see `kindgi-authoring-providers`); else no level,
|
|
215
|
+
and the model thinks as its vendor sets. A level the model doesn't take
|
|
216
|
+
goes as the next one up that it takes, or its highest, with a
|
|
217
|
+
`thinking-level-adjusted` warning. A guardrail's or an eval's model judge
|
|
218
|
+
asks for `lowest`.
|
|
219
|
+
|
|
206
220
|
## Iterating
|
|
207
221
|
|
|
208
222
|
Save the file: `kindgi dev` recompiles, re-indexes, and the next run uses
|
|
@@ -16,8 +16,8 @@ description: >
|
|
|
16
16
|
kindgi-java-authoring-agents, Java tools by kindgi-java-authoring-tools.
|
|
17
17
|
type: core
|
|
18
18
|
library: "kindgi-pack (Java)"
|
|
19
|
-
version: "0.1.
|
|
20
|
-
sdk_version: "0.3.0"
|
|
19
|
+
version: "0.1.5"
|
|
20
|
+
sdk_version: "0.3.1-rc.0"
|
|
21
21
|
pack_languages: [java]
|
|
22
22
|
sources:
|
|
23
23
|
- sdks/java/kindgi-pack/README.md
|
|
@@ -177,7 +177,12 @@ public final class Citations {
|
|
|
177
177
|
`flows` and `tenants` lists.
|
|
178
178
|
- **`name`:** a display name. **`checkId`:** defaults to the id.
|
|
179
179
|
- **`kind`:** `zero-llm`, the default: a check over the trace, which is what
|
|
180
|
-
a pack writes.
|
|
180
|
+
a pack writes. `llm-judge`: a model judges the turn against the rubric in
|
|
181
|
+
`config` (`set("config", Map.of("rubric", "..."))`), and the check is never
|
|
182
|
+
called. It costs model calls and needs **`judgeCapabilities(...)`**, what
|
|
183
|
+
the judge model is routed by (`Map.of("needs", List.of(Map.of("feature",
|
|
184
|
+
"structured-output")))`); `check(...)` refuses an llm-judge guardrail
|
|
185
|
+
without it.
|
|
181
186
|
- `set("sandbox" | "limits" | "network", …)` are recorded in the index.
|
|
182
187
|
|
|
183
188
|
## Testing
|
|
@@ -17,8 +17,8 @@ description: >
|
|
|
17
17
|
kindgi-java-authoring-flows; models by kindgi-authoring-providers.
|
|
18
18
|
type: core
|
|
19
19
|
library: "kindgi-pack (Java)"
|
|
20
|
-
version: "0.1.
|
|
21
|
-
sdk_version: "0.3.0"
|
|
20
|
+
version: "0.1.7"
|
|
21
|
+
sdk_version: "0.3.1-rc.0"
|
|
22
22
|
pack_languages: [java]
|
|
23
23
|
sources:
|
|
24
24
|
- sdks/java/kindgi-pack/README.md
|
|
@@ -76,6 +76,21 @@ terminal, say), `kindgi dev` exits with code 3 and prints where it is
|
|
|
76
76
|
(its pid, the console and the API): use that one. Don't start another,
|
|
77
77
|
and don't stop theirs.
|
|
78
78
|
|
|
79
|
+
Each linked git worktree runs its own `kindgi dev`, side by side, with its
|
|
80
|
+
own dev tenant, user and token. In the bundled Postgres it has its own
|
|
81
|
+
database too, `kindgi_<project>__<worktree>`, and its tenant and user are
|
|
82
|
+
named from it; with your own (`--database-url` or `KINDGI_DATABASE_URL`),
|
|
83
|
+
it uses that one. Its `.kindgirc.json`, which `kindgi init` keeps out of
|
|
84
|
+
git, keeps the token, the tenant and the user. When port 4000 is taken
|
|
85
|
+
(another worktree's `kindgi dev`), it takes the next free one and says so,
|
|
86
|
+
`⚠ port 4000 is in use (another kindgi dev?): using 4001`; that
|
|
87
|
+
worktree's `.kindgirc.json` records it, so the CLI there follows. Read the
|
|
88
|
+
API URL from the banner or `.kindgirc.json`, never assume 4000. A
|
|
89
|
+
`--port` that's taken is refused. The providers the config declares are
|
|
90
|
+
registered in each worktree as it starts. One registered by hand belongs
|
|
91
|
+
to one worktree, and so does an env file git doesn't track, such as
|
|
92
|
+
`.env.local`: copy it into a new worktree.
|
|
93
|
+
|
|
79
94
|
`kindgi dev` needs Docker and Postgres. It starts Postgres in Docker unless
|
|
80
95
|
`KINDGI_DATABASE_URL` points at yours. It checks the JDK (`JAVA_HOME`'s, or
|
|
81
96
|
`dev.javaHome` in `kindgi.config.json`) and Maven (the pack's `mvnw`, or
|
|
@@ -15,8 +15,8 @@ description: >
|
|
|
15
15
|
model by kindgi-authoring-providers.
|
|
16
16
|
type: core
|
|
17
17
|
library: "kindgi (Python)"
|
|
18
|
-
version: "0.1.
|
|
19
|
-
sdk_version: "0.3.0"
|
|
18
|
+
version: "0.1.10"
|
|
19
|
+
sdk_version: "0.3.1-rc.0"
|
|
20
20
|
pack_languages: [python]
|
|
21
21
|
sources:
|
|
22
22
|
- sdks/python/src/kindgi/pack/define.py
|
|
@@ -219,6 +219,20 @@ then "Tool responded: …", and the turn carries the `fallback-provider` and
|
|
|
219
219
|
takes over: see `kindgi-authoring-providers`
|
|
220
220
|
(`kindgi providers register --preset=anthropic`).
|
|
221
221
|
|
|
222
|
+
**How much the model thinks** (runtime 0.3.0 or later; an older one
|
|
223
|
+
refuses a block with `thinking`): the agent names a model-settings block with
|
|
224
|
+
`model_settings={"id": "acme.reply-model", "version": "^1.0.0"}`.
|
|
225
|
+
It's a settings block, such as `blocks/reply-model.json`, whose values may
|
|
226
|
+
set `temperature`, `maxOutputTokens` and `thinking`:
|
|
227
|
+
`{ "id": "acme.reply-model", "version": "1.0.0", "kind": "settings", "content": { "values": { "thinking": "low" } } }`.
|
|
228
|
+
The block's `thinking` (`lowest`, `minimal`, `low`, `medium`, `high`,
|
|
229
|
+
`xhigh` or `max`) is sent; else the `thinking.default` the model's provider
|
|
230
|
+
registration gives it (see `kindgi-authoring-providers`); else no level,
|
|
231
|
+
and the model thinks as its vendor sets. A level the model doesn't take
|
|
232
|
+
goes as the next one up that it takes, or its highest, with a
|
|
233
|
+
`thinking-level-adjusted` warning. A guardrail's or an eval's model judge
|
|
234
|
+
asks for `lowest`.
|
|
235
|
+
|
|
222
236
|
## Iterating
|
|
223
237
|
|
|
224
238
|
Save the file; `kindgi dev` re-indexes and the next run uses it. No
|
|
@@ -16,8 +16,8 @@ description: >
|
|
|
16
16
|
kindgi-python-authoring-tools.
|
|
17
17
|
type: core
|
|
18
18
|
library: "kindgi (Python)"
|
|
19
|
-
version: "0.1.
|
|
20
|
-
sdk_version: "0.3.0"
|
|
19
|
+
version: "0.1.8"
|
|
20
|
+
sdk_version: "0.3.1-rc.0"
|
|
21
21
|
pack_languages: [python]
|
|
22
22
|
sources:
|
|
23
23
|
- sdks/python/src/kindgi/pack/define.py
|
|
@@ -161,7 +161,12 @@ def no_fabricated_quotes(config: Config, trace: RunTrace) -> CheckResult:
|
|
|
161
161
|
- **`scope`** — when it applies: `{"when": "always" | "ci-only" |
|
|
162
162
|
"runtime-only"}`, narrowed by `agents`, `flows`, `tenants` lists.
|
|
163
163
|
- **`kind`** — `"zero-llm"` (default): a check over the trace — what a
|
|
164
|
-
pack writes.
|
|
164
|
+
pack writes. `"llm-judge"`: a model judges the turn against the rubric
|
|
165
|
+
in `config` (`{"rubric": "...", "responseFormat": "pass-fail"}`), and
|
|
166
|
+
the check is never called. It costs model calls and needs
|
|
167
|
+
**`judge_capabilities`**, what the judge model is routed by
|
|
168
|
+
(`{"needs": [{"feature": "structured-output"}]}`); the decorator
|
|
169
|
+
refuses an llm-judge guardrail without it.
|
|
165
170
|
- **`config`** — the values the check runs with (above); **`config_type`**
|
|
166
171
|
— the config's type when the check's first parameter isn't annotated
|
|
167
172
|
with it.
|
|
@@ -16,8 +16,8 @@ description: >
|
|
|
16
16
|
models by kindgi-authoring-providers.
|
|
17
17
|
type: core
|
|
18
18
|
library: "kindgi (Python)"
|
|
19
|
-
version: "0.1.
|
|
20
|
-
sdk_version: "0.3.0"
|
|
19
|
+
version: "0.1.14"
|
|
20
|
+
sdk_version: "0.3.1-rc.0"
|
|
21
21
|
pack_languages: [python]
|
|
22
22
|
sources:
|
|
23
23
|
- sdks/python/README.md
|
|
@@ -68,6 +68,21 @@ terminal, say), `kindgi dev` exits with code 3 and prints where it is
|
|
|
68
68
|
(its pid, the console and the API): use that one. Don't start another,
|
|
69
69
|
and don't stop theirs.
|
|
70
70
|
|
|
71
|
+
Each linked git worktree runs its own `kindgi dev`, side by side, with its
|
|
72
|
+
own dev tenant, user and token. In the bundled Postgres it has its own
|
|
73
|
+
database too, `kindgi_<project>__<worktree>`, and its tenant and user are
|
|
74
|
+
named from it; with your own (`--database-url` or `KINDGI_DATABASE_URL`),
|
|
75
|
+
it uses that one. Its `.kindgirc.json`, which `kindgi init` keeps out of
|
|
76
|
+
git, keeps the token, the tenant and the user. When port 4000 is taken
|
|
77
|
+
(another worktree's `kindgi dev`), it takes the next free one and says so,
|
|
78
|
+
`⚠ port 4000 is in use (another kindgi dev?): using 4001`; that
|
|
79
|
+
worktree's `.kindgirc.json` records it, so the CLI there follows. Read the
|
|
80
|
+
API URL from the banner or `.kindgirc.json`, never assume 4000. A
|
|
81
|
+
`--port` that's taken is refused. The providers the config declares are
|
|
82
|
+
registered in each worktree as it starts. One registered by hand belongs
|
|
83
|
+
to one worktree, and so does an env file git doesn't track, such as
|
|
84
|
+
`.env.local`: copy it into a new worktree.
|
|
85
|
+
|
|
71
86
|
`kindgi dev` needs Postgres: it starts one in Docker unless
|
|
72
87
|
`KINDGI_DATABASE_URL` points at yours. It runs the pack with
|
|
73
88
|
`.venv/bin/python` (or `dev.python` in `[tool.kindgi]`, e.g.
|
|
@@ -16,8 +16,8 @@ description: >
|
|
|
16
16
|
kindgi-authoring-providers.
|
|
17
17
|
type: core
|
|
18
18
|
library: "kindgi-pack-scala"
|
|
19
|
-
version: "0.1.
|
|
20
|
-
sdk_version: "0.3.0"
|
|
19
|
+
version: "0.1.6"
|
|
20
|
+
sdk_version: "0.3.1-rc.0"
|
|
21
21
|
pack_languages: [scala]
|
|
22
22
|
sources:
|
|
23
23
|
- sdks/scala/README.md
|
|
@@ -201,6 +201,20 @@ or `"providers": [{"preset": "anthropic"}]` in `kindgi.config.json`).
|
|
|
201
201
|
Commit the declaration: it holds the key's name, never the key, and it's how
|
|
202
202
|
a teammate's `kindgi dev`, or another worktree's, gets the same provider.
|
|
203
203
|
|
|
204
|
+
**How much the model thinks** (runtime 0.3.0 or later; an older one
|
|
205
|
+
refuses a block with `thinking`): the agent names a model-settings block with
|
|
206
|
+
`set("modelSettings", Map("id" -> "acme.reply-model", "version" -> "^1.0.0"))`.
|
|
207
|
+
It's a settings block, such as `blocks/reply-model.json`, whose values may
|
|
208
|
+
set `temperature`, `maxOutputTokens` and `thinking`:
|
|
209
|
+
`{ "id": "acme.reply-model", "version": "1.0.0", "kind": "settings", "content": { "values": { "thinking": "low" } } }`.
|
|
210
|
+
The block's `thinking` (`lowest`, `minimal`, `low`, `medium`, `high`,
|
|
211
|
+
`xhigh` or `max`) is sent; else the `thinking.default` the model's provider
|
|
212
|
+
registration gives it (see `kindgi-authoring-providers`); else no level,
|
|
213
|
+
and the model thinks as its vendor sets. A level the model doesn't take
|
|
214
|
+
goes as the next one up that it takes, or its highest, with a
|
|
215
|
+
`thinking-level-adjusted` warning. A guardrail's or an eval's model judge
|
|
216
|
+
asks for `lowest`.
|
|
217
|
+
|
|
204
218
|
## Iterating
|
|
205
219
|
|
|
206
220
|
Save the file: `kindgi dev` recompiles through sbt's server, re-indexes, and
|
|
@@ -18,8 +18,8 @@ description: >
|
|
|
18
18
|
kindgi-scala-authoring-tools.
|
|
19
19
|
type: core
|
|
20
20
|
library: "kindgi-pack-scala"
|
|
21
|
-
version: "0.1.
|
|
22
|
-
sdk_version: "0.3.0"
|
|
21
|
+
version: "0.1.5"
|
|
22
|
+
sdk_version: "0.3.1-rc.0"
|
|
23
23
|
pack_languages: [scala]
|
|
24
24
|
sources:
|
|
25
25
|
- sdks/scala/README.md
|
|
@@ -174,7 +174,12 @@ object Citations {
|
|
|
174
174
|
`flows` and `tenants` lists.
|
|
175
175
|
- **`name`:** a display name. **`checkId`:** defaults to the id.
|
|
176
176
|
- **`kind`:** `zero-llm`, the default: a check over the trace, which is what
|
|
177
|
-
a pack writes.
|
|
177
|
+
a pack writes. `llm-judge`: a model judges the turn against the rubric in
|
|
178
|
+
`config` (`set("config", Map("rubric" -> "..."))`), and the check is never
|
|
179
|
+
called. It costs model calls and needs **`judgeCapabilities(...)`**, what
|
|
180
|
+
the judge model is routed by (`Map("needs" -> List(Map("feature" ->
|
|
181
|
+
"structured-output")))`); `check(...)` refuses an llm-judge guardrail
|
|
182
|
+
without it.
|
|
178
183
|
- `set("sandbox" | "limits" | "network", …)` are recorded in the index.
|
|
179
184
|
|
|
180
185
|
## Testing
|
|
@@ -17,8 +17,8 @@ description: >
|
|
|
17
17
|
kindgi-scala-authoring-flows; models by kindgi-authoring-providers.
|
|
18
18
|
type: core
|
|
19
19
|
library: "kindgi-pack-scala"
|
|
20
|
-
version: "0.1.
|
|
21
|
-
sdk_version: "0.3.0"
|
|
20
|
+
version: "0.1.7"
|
|
21
|
+
sdk_version: "0.3.1-rc.0"
|
|
22
22
|
pack_languages: [scala]
|
|
23
23
|
sources:
|
|
24
24
|
- sdks/scala/README.md
|
|
@@ -79,6 +79,21 @@ terminal, say), `kindgi dev` exits with code 3 and prints where it is
|
|
|
79
79
|
(its pid, the console and the API): use that one. Don't start another,
|
|
80
80
|
and don't stop theirs.
|
|
81
81
|
|
|
82
|
+
Each linked git worktree runs its own `kindgi dev`, side by side, with its
|
|
83
|
+
own dev tenant, user and token. In the bundled Postgres it has its own
|
|
84
|
+
database too, `kindgi_<project>__<worktree>`, and its tenant and user are
|
|
85
|
+
named from it; with your own (`--database-url` or `KINDGI_DATABASE_URL`),
|
|
86
|
+
it uses that one. Its `.kindgirc.json`, which `kindgi init` keeps out of
|
|
87
|
+
git, keeps the token, the tenant and the user. When port 4000 is taken
|
|
88
|
+
(another worktree's `kindgi dev`), it takes the next free one and says so,
|
|
89
|
+
`⚠ port 4000 is in use (another kindgi dev?): using 4001`; that
|
|
90
|
+
worktree's `.kindgirc.json` records it, so the CLI there follows. Read the
|
|
91
|
+
API URL from the banner or `.kindgirc.json`, never assume 4000. A
|
|
92
|
+
`--port` that's taken is refused. The providers the config declares are
|
|
93
|
+
registered in each worktree as it starts. One registered by hand belongs
|
|
94
|
+
to one worktree, and so does an env file git doesn't track, such as
|
|
95
|
+
`.env.local`: copy it into a new worktree.
|
|
96
|
+
|
|
82
97
|
`kindgi dev` needs Docker and Postgres. It starts Postgres in Docker unless
|
|
83
98
|
`KINDGI_DATABASE_URL` points at yours. It compiles through sbt's server
|
|
84
99
|
(`sbt --client`), so a save compiles in about a second once it's warm.
|
|
@@ -16,6 +16,15 @@ or `OPENROUTER_API_KEY`) and declare its preset
|
|
|
16
16
|
`'openrouter'`) in `kindgi.config.ts`'s `providers`: `kindgi dev` then
|
|
17
17
|
registers it on every boot, in every worktree. Other providers and
|
|
18
18
|
per-agent model choice: the `kindgi-authoring-providers` skill.
|
|
19
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
20
|
+
agent's `modelSettings` block, else the model's registered
|
|
21
|
+
`thinking.default`, else its vendor's own.
|
|
22
|
+
|
|
23
|
+
Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
24
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
25
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
26
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
27
|
+
has the details.
|
|
19
28
|
|
|
20
29
|
## This pack: a Drupal site
|
|
21
30
|
|
|
@@ -16,6 +16,15 @@ or `OPENROUTER_API_KEY`) and declare its preset
|
|
|
16
16
|
`'openrouter'`) in `kindgi.config.ts`'s `providers`: `kindgi dev` then
|
|
17
17
|
registers it on every boot, in every worktree. Other providers and
|
|
18
18
|
per-agent model choice: the `kindgi-authoring-providers` skill.
|
|
19
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
20
|
+
agent's `modelSettings` block, else the model's registered
|
|
21
|
+
`thinking.default`, else its vendor's own.
|
|
22
|
+
|
|
23
|
+
Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
24
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
25
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
26
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
27
|
+
has the details.
|
|
19
28
|
|
|
20
29
|
## This pack: follow-up mail
|
|
21
30
|
|
|
@@ -25,6 +25,14 @@ The config is `kindgi.config.json`.
|
|
|
25
25
|
(`[{"preset": "anthropic"}]`, or `"openai"`, `"gemini-api"`, `"groq"`,
|
|
26
26
|
`"openrouter"`) to `kindgi.config.json`: `kindgi dev` then registers it on
|
|
27
27
|
every boot, in every worktree.
|
|
28
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
29
|
+
agent's `modelSettings` block, else the model's registered
|
|
30
|
+
`thinking.default`, else its vendor's own.
|
|
31
|
+
- Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
32
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
33
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
34
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
35
|
+
has the details.
|
|
28
36
|
|
|
29
37
|
## Skills
|
|
30
38
|
|
|
@@ -16,6 +16,15 @@ or `OPENROUTER_API_KEY`) and declare its preset
|
|
|
16
16
|
`'openrouter'`) in `kindgi.config.ts`'s `providers`: `kindgi dev` then
|
|
17
17
|
registers it on every boot, in every worktree. Other providers and
|
|
18
18
|
per-agent model choice: the `kindgi-authoring-providers` skill.
|
|
19
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
20
|
+
agent's `modelSettings` block, else the model's registered
|
|
21
|
+
`thinking.default`, else its vendor's own.
|
|
22
|
+
|
|
23
|
+
Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
24
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
25
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
26
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
27
|
+
has the details.
|
|
19
28
|
|
|
20
29
|
## Skills
|
|
21
30
|
|
|
@@ -20,6 +20,14 @@ starts with `_`. The config is `[tool.kindgi]` in `pyproject.toml`.
|
|
|
20
20
|
`"openrouter"`) to `pyproject.toml`: `kindgi dev` then registers it
|
|
21
21
|
on every boot, in every worktree. Other providers and per-agent model
|
|
22
22
|
choice: the `kindgi-authoring-providers` skill.
|
|
23
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
24
|
+
agent's `model_settings` block, else the model's registered
|
|
25
|
+
`thinking.default`, else its vendor's own.
|
|
26
|
+
- Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
27
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
28
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
29
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
30
|
+
has the details.
|
|
23
31
|
|
|
24
32
|
## Skills
|
|
25
33
|
|
|
@@ -16,6 +16,15 @@ or `OPENROUTER_API_KEY`) and declare its preset
|
|
|
16
16
|
`'openrouter'`) in `kindgi.config.ts`'s `providers`: `kindgi dev` then
|
|
17
17
|
registers it on every boot, in every worktree. Other providers and
|
|
18
18
|
per-agent model choice: the `kindgi-authoring-providers` skill.
|
|
19
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
20
|
+
agent's `modelSettings` block, else the model's registered
|
|
21
|
+
`thinking.default`, else its vendor's own.
|
|
22
|
+
|
|
23
|
+
Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
24
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
25
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
26
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
27
|
+
has the details.
|
|
19
28
|
|
|
20
29
|
## Skills
|
|
21
30
|
|
|
@@ -26,6 +26,14 @@ make it a `val`. The config is `kindgi.config.json`.
|
|
|
26
26
|
(`[{"preset": "anthropic"}]`, or `"openai"`, `"gemini-api"`, `"groq"`,
|
|
27
27
|
`"openrouter"`) to `kindgi.config.json`: `kindgi dev` then registers it on
|
|
28
28
|
every boot, in every worktree.
|
|
29
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
30
|
+
agent's `modelSettings` block, else the model's registered
|
|
31
|
+
`thinking.default`, else its vendor's own.
|
|
32
|
+
- Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
33
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
34
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
35
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
36
|
+
has the details.
|
|
29
37
|
|
|
30
38
|
## Skills
|
|
31
39
|
|
|
@@ -16,6 +16,15 @@ or `OPENROUTER_API_KEY`) and declare its preset
|
|
|
16
16
|
`'openrouter'`) in `kindgi.config.ts`'s `providers`: `kindgi dev` then
|
|
17
17
|
registers it on every boot, in every worktree. Other providers and
|
|
18
18
|
per-agent model choice: the `kindgi-authoring-providers` skill.
|
|
19
|
+
How much a model thinks (runtime 0.3.0 or later): `thinking` in the
|
|
20
|
+
agent's `modelSettings` block, else the model's registered
|
|
21
|
+
`thinking.default`, else its vendor's own.
|
|
22
|
+
|
|
23
|
+
Each git worktree runs its own `kindgi dev`, with its own dev tenant,
|
|
24
|
+
user and token, and its own database in the bundled Postgres. When port
|
|
25
|
+
4000 is taken (another worktree's, say), it takes the next free one,
|
|
26
|
+
prints it and records it in `.kindgirc.json`. The getting-started skill
|
|
27
|
+
has the details.
|
|
19
28
|
|
|
20
29
|
## This pack: a WooCommerce store
|
|
21
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindgi/cli",
|
|
3
|
-
"version": "0.3.0",
|
|
3
|
+
"version": "0.3.1-rc.0",
|
|
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.3.0",
|
|
41
|
-
"@kindgi/client": "0.3.0",
|
|
42
|
-
"@kindgi/dotenv-file": "0.3.0",
|
|
43
|
-
"@kindgi/crypto": "0.3.0",
|
|
44
|
-
"@kindgi/env-schema": "0.3.0",
|
|
45
|
-
"@kindgi/flow": "0.3.0",
|
|
46
|
-
"@kindgi/handler-runtime": "0.3.0",
|
|
47
|
-
"@kindgi/log": "0.3.0",
|
|
48
|
-
"@kindgi/secrets-dotenv": "0.3.0",
|
|
49
|
-
"@kindgi/platform": "0.3.0",
|
|
50
|
-
"@kindgi/sdk": "0.3.0",
|
|
51
|
-
"@kindgi/types": "0.3.0",
|
|
40
|
+
"@kindgi/agents": "0.3.1-rc.0",
|
|
41
|
+
"@kindgi/client": "0.3.1-rc.0",
|
|
42
|
+
"@kindgi/dotenv-file": "0.3.1-rc.0",
|
|
43
|
+
"@kindgi/crypto": "0.3.1-rc.0",
|
|
44
|
+
"@kindgi/env-schema": "0.3.1-rc.0",
|
|
45
|
+
"@kindgi/flow": "0.3.1-rc.0",
|
|
46
|
+
"@kindgi/handler-runtime": "0.3.1-rc.0",
|
|
47
|
+
"@kindgi/log": "0.3.1-rc.0",
|
|
48
|
+
"@kindgi/secrets-dotenv": "0.3.1-rc.0",
|
|
49
|
+
"@kindgi/platform": "0.3.1-rc.0",
|
|
50
|
+
"@kindgi/sdk": "0.3.1-rc.0",
|
|
51
|
+
"@kindgi/types": "0.3.1-rc.0",
|
|
52
52
|
"esbuild": "^0.24.0",
|
|
53
53
|
"semver": "^7.8.5",
|
|
54
54
|
"smol-toml": "^1.9.0",
|