@agentvault/agentvault 0.23.73 → 0.23.74

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.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * #1874: the ONE way a value enters a command a bridge (or this plugin) prints
3
+ * for an owner to paste into a terminal: `AV_AGENT_NAME=<name> agentvault-…`
4
+ * hints from `install`, `status`, `doctor` and the trust/approve prompts.
5
+ *
6
+ * This is the SAME rule as the web's `packages/web/lib/shell-word.ts` (#1871),
7
+ * which documents it in full; the two are kept identical by
8
+ * `src/__tests__/shell-word-parity-1874.test.ts`. In short: a value made only of
9
+ * `A-Z a-z 0-9 _ . / : @ + -` is left as it is; a value holding a control or
10
+ * invisible character goes in `$'...'` with every other byte as `\xHH`; anything
11
+ * else goes in single quotes, with each `'` and `\` written outside them. No
12
+ * shell (sh, dash, bash, zsh, ksh) runs or expands any part of the result.
13
+ *
14
+ * Quoting does not make a value safe as a COMMAND NAME or as a flag.
15
+ *
16
+ * TROJAN SOURCE: this file holds no raw invisible character; the character
17
+ * set is Unicode property escapes plus code points.
18
+ */
19
+ /** `value` as one shell word: no shell runs anything in it; bash, zsh, ksh (and sh, dash for rules 1-2) read it back exactly. */
20
+ export declare function shellWord(value: string): string;
21
+ //# sourceMappingURL=shell-word.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell-word.d.ts","sourceRoot":"","sources":["../src/shell-word.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AA2BH,iIAAiI;AACjI,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAqB/C"}
@@ -2,7 +2,7 @@
2
2
  "id": "agentvault",
3
3
  "name": "AgentVault",
4
4
  "description": "End-to-end encrypted messaging between AI agent owners and their agents.",
5
- "version": "0.23.73",
5
+ "version": "0.23.74",
6
6
  "channels": [
7
7
  "agentvault"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvault/agentvault",
3
- "version": "0.23.73",
3
+ "version": "0.23.74",
4
4
  "description": "End-to-end encrypted messaging for AI agents: connects an agent to its owner, rooms and other agents on AgentVault.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",