@intentius/chant-lexicon-fountain 0.72.2 → 0.72.3
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/acp/serve.d.ts.map +1 -1
- package/dist/integrity.json +2 -2
- package/dist/manifest.json +1 -1
- package/package.json +2 -2
- package/src/acp/serve.ts +9 -0
package/dist/acp/serve.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/acp/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/acp/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AASH,wFAAwF;AACxF,wBAAsB,iBAAiB,CAAC,IAAI,GAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAqB/F"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "32a2a5fc5e37211c3130883653b25f44749715a4ddc1f291b7069f3986018948",
|
|
5
5
|
"meta.json": "ed2c507b18806e3eac6641d9b8fc85cd59401a86ab39ba39405869fab91ba729",
|
|
6
6
|
"types/index.d.ts": "242196b012731a2fb7b586159ab234bf33f63b1653e49fc625b1cff0b3f7f1f3",
|
|
7
7
|
"rules/ftn001-no-secret-literals.ts": "a417b194cd7039911cca9a0f14c49b042dfa6b1ee48517f7c2e22b16590a8599",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"skills/chant-fountain-ops.md": "206b9088be0c43807df32de39949888bd28eefd870a191743e051814c94b2d0c",
|
|
23
23
|
"skills/chant-fountain-locked-sandboxes.md": "de82f06cb3a08ba6bf3ae45fb9869e21d6da18b9ebe0fc769da8aebaceea7dd1"
|
|
24
24
|
},
|
|
25
|
-
"composite": "
|
|
25
|
+
"composite": "8444084ec6bce166840ba1cecc604168db1b34bc070d7a59e8ef2f4f77fb49b9"
|
|
26
26
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-fountain",
|
|
3
|
-
"version": "0.72.
|
|
3
|
+
"version": "0.72.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Fountain lexicon for chant — sandboxed agent environments, vaults, and agents as typed estate",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"bundle": "tsx src/package-cli.ts"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@intentius/chant": "^0.72.
|
|
53
|
+
"@intentius/chant": "^0.72.3",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
55
|
"zod": "^4.3.6"
|
|
56
56
|
},
|
package/src/acp/serve.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import { readFileSync } from "node:fs";
|
|
13
|
+
import { setGateOrigin } from "@intentius/chant/lifecycle/gate-origin";
|
|
13
14
|
import { dirname, join } from "node:path";
|
|
14
15
|
import { fileURLToPath } from "node:url";
|
|
15
16
|
import { AcpServer } from "./server";
|
|
@@ -17,6 +18,14 @@ import { streamTransport } from "./jsonrpc";
|
|
|
17
18
|
|
|
18
19
|
/** Serve until the client closes stdin, which is how it says the connection is over. */
|
|
19
20
|
export async function serveAcpOverStdio(opts: { durableRequests?: boolean } = {}): Promise<void> {
|
|
21
|
+
// chant#2384 — every prompt this session carries is authored by the model,
|
|
22
|
+
// and `approve` is a verb in chant's registry like any other, so nothing in
|
|
23
|
+
// the transport stops `chant run <op>` being followed by
|
|
24
|
+
// `chant approve <op> <gate>` as the next prompt. Declaring the channel is
|
|
25
|
+
// what makes the gate ledger able to tell that apart from a person at a
|
|
26
|
+
// shell; the same-origin rule then refuses it.
|
|
27
|
+
setGateOrigin("acp");
|
|
28
|
+
|
|
20
29
|
const server = new AcpServer({
|
|
21
30
|
durableRequests: opts.durableRequests ?? false,
|
|
22
31
|
version: lexiconVersion(),
|