@lkyhfx/dsh-bb-repl 0.1.0 → 0.1.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.
- package/cordis.patch.yml +38 -0
- package/package.json +13 -5
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Bundle patch for the dsh-bb-repl stack.
|
|
2
|
+
#
|
|
3
|
+
# `dsh plugin --profile <name> add @lkyhfx/dsh-bb-repl` appends this package to
|
|
4
|
+
# `dsh.profile.bundles`, so this layer mounts the stack without editing the
|
|
5
|
+
# profile patch by hand.
|
|
6
|
+
#
|
|
7
|
+
# The group isolates `bbDomain`: each Agent stack sees its own domain registry,
|
|
8
|
+
# so a child domain plugin cannot leak its manifest into another group.
|
|
9
|
+
#
|
|
10
|
+
# This layer does NOT remove the existing persistent-bash / persistent-pwsh
|
|
11
|
+
# tool. Disable those rows in your profile patch or Agent preset if you want
|
|
12
|
+
# `bb_eval` to be the only shell the model sees.
|
|
13
|
+
#
|
|
14
|
+
# Config knobs (all optional, defaults shown):
|
|
15
|
+
# bbExecutable bb Babashka executable name or absolute path
|
|
16
|
+
# timeoutMs 120000 per-eval timeout; a timeout resets the session
|
|
17
|
+
# startupMs 12000 interpreter start budget
|
|
18
|
+
# maxOutputChars 16000 output clipping budget
|
|
19
|
+
# sandbox inherit 'inherit' goes through ctx.sandbox under the
|
|
20
|
+
# session's ctx.sandboxPolicy and fails closed when no
|
|
21
|
+
# backend exists; 'off' runs unconfined (tests only)
|
|
22
|
+
- insert:
|
|
23
|
+
- id: bb-domain-stack
|
|
24
|
+
name: cordis:group
|
|
25
|
+
group: true
|
|
26
|
+
isolate:
|
|
27
|
+
bbDomain: true
|
|
28
|
+
config:
|
|
29
|
+
- id: bb-repl
|
|
30
|
+
name: '@lkyhfx/dsh-bb-repl'
|
|
31
|
+
config:
|
|
32
|
+
bbExecutable: bb
|
|
33
|
+
timeoutMs: 120000
|
|
34
|
+
startupMs: 12000
|
|
35
|
+
maxOutputChars: 16000
|
|
36
|
+
sandbox: inherit
|
|
37
|
+
- id: bb-code
|
|
38
|
+
name: '@lkyhfx/dsh-bb-domain-code'
|
package/package.json
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lkyhfx/dsh-bb-repl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DSH Cordis plugin: owner-scoped persistent Babashka nREPL tool (bb_eval)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.js",
|
|
9
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"files": ["src", "bb-src", "cordis.patch.yml"],
|
|
9
13
|
"keywords": ["dsh", "cordis", "babashka", "nrepl", "clojure", "repl"],
|
|
10
14
|
"repository": {"type": "git", "url": "git+https://github.com/lkyhfx/dsh-bb-repl.git", "directory": "packages/repl"},
|
|
11
15
|
"publishConfig": {"access": "public"},
|
|
16
|
+
"dsh": {"bundle": {"patch": "./cordis.patch.yml"}},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@deepseek-ai/schemastery": "*",
|
|
19
|
+
"@lkyhfx/dsh-bb-domain-code": "^0.1.1"
|
|
20
|
+
},
|
|
12
21
|
"peerDependencies": {
|
|
13
22
|
"@deepseek-ai/cordis": "*",
|
|
14
23
|
"@deepseek-ai/dsh-tools": "*"
|
|
15
|
-
}
|
|
16
|
-
"dependencies": {"@deepseek-ai/schemastery": "*"}
|
|
24
|
+
}
|
|
17
25
|
}
|