toolcraft 0.0.771 → 0.0.773

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 (61) hide show
  1. package/composition.json +13 -3
  2. package/dist/composition.json +13 -3
  3. package/node_modules/@poe-code/safe-fs/dist/contracts/filesystem.d.ts +8 -1
  4. package/node_modules/@poe-code/safe-fs/dist/core.d.ts +1 -1
  5. package/node_modules/@poe-code/safe-fs/dist/core.js +1 -1
  6. package/node_modules/@poe-code/safe-fs/dist/fs/capabilities.js +4 -2
  7. package/node_modules/@poe-code/safe-fs/dist/fs/devices/index.d.ts +2 -2
  8. package/node_modules/@poe-code/safe-fs/dist/fs/devices/index.js +9 -6
  9. package/node_modules/@poe-code/safe-fs/dist/fs/memory/index.d.ts +2 -2
  10. package/node_modules/@poe-code/safe-fs/dist/fs/memory/index.js +4 -3
  11. package/node_modules/@poe-code/safe-fs/dist/fs/mount/index.d.ts +2 -2
  12. package/node_modules/@poe-code/safe-fs/dist/fs/mount/index.js +12 -7
  13. package/node_modules/@poe-code/safe-fs/dist/fs/overlay/index.d.ts +1 -0
  14. package/node_modules/@poe-code/safe-fs/dist/fs/overlay/index.js +10 -0
  15. package/node_modules/@poe-code/safe-fs/dist/fs/overlay/memory-publication.js +18 -0
  16. package/node_modules/@poe-code/safe-fs/dist/fs/scoped.js +1 -1
  17. package/node_modules/@poe-code/safe-fs/dist/storage.d.ts +1 -1
  18. package/node_modules/@poe-code/safe-fs/dist/storage.js +21 -3
  19. package/node_modules/@poe-code/xml-ast/README.md +10 -1
  20. package/node_modules/@poe-code/xml-ast/dist/errors.d.ts +4 -0
  21. package/node_modules/@poe-code/xml-ast/dist/errors.js +7 -0
  22. package/node_modules/@poe-code/xml-ast/dist/index.d.ts +2 -4
  23. package/node_modules/@poe-code/xml-ast/dist/index.js +3 -7
  24. package/node_modules/@poe-code/xml-ast/dist/stream.d.ts +16 -0
  25. package/node_modules/@poe-code/xml-ast/dist/stream.js +163 -0
  26. package/node_modules/saxes/README.md +323 -0
  27. package/node_modules/saxes/package.json +71 -0
  28. package/node_modules/saxes/saxes.d.ts +635 -0
  29. package/node_modules/saxes/saxes.js +2053 -0
  30. package/node_modules/saxes/saxes.js.map +1 -0
  31. package/node_modules/tiny-http-mcp-server/dist/composition.json +11 -1
  32. package/node_modules/tiny-http-mcp-server/node_modules/mcp-oauth/README.md +6 -2
  33. package/node_modules/tiny-http-mcp-server/node_modules/mcp-oauth/dist/client/register-client.d.ts +9 -3
  34. package/node_modules/tiny-http-mcp-server/node_modules/mcp-oauth/dist/client/register-client.js +22 -7
  35. package/node_modules/tiny-http-mcp-server/package.json +4 -4
  36. package/node_modules/tiny-mcp-client/README.md +11 -2
  37. package/node_modules/tiny-mcp-client/dist/index.browser.d.ts +17 -4
  38. package/node_modules/tiny-mcp-client/dist/index.browser.js +92 -40
  39. package/node_modules/tiny-mcp-client/dist/index.d.ts +17 -4
  40. package/node_modules/tiny-mcp-client/dist/index.js +114 -47
  41. package/node_modules/tiny-stdio-mcp-server/dist/composition.json +1 -1
  42. package/node_modules/toolcraft-schema/package.json +1 -1
  43. package/node_modules/xmlchars/LICENSE +18 -0
  44. package/node_modules/xmlchars/README.md +33 -0
  45. package/node_modules/xmlchars/package.json +51 -0
  46. package/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
  47. package/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
  48. package/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
  49. package/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
  50. package/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
  51. package/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
  52. package/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
  53. package/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
  54. package/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
  55. package/node_modules/xmlchars/xmlchars.d.ts +170 -0
  56. package/node_modules/xmlchars/xmlchars.js +191 -0
  57. package/node_modules/xmlchars/xmlchars.js.map +1 -0
  58. package/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
  59. package/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
  60. package/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
  61. package/package.json +8 -6
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /**
3
+ * Character class utilities for XML NS 1.0 edition 3.
4
+ *
5
+ * @author Louis-Dominique Dubeau
6
+ * @license MIT
7
+ * @copyright Louis-Dominique Dubeau
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //
11
+ // Fragments.
12
+ //
13
+ // tslint:disable-next-line:max-line-length
14
+ exports.NC_NAME_START_CHAR = "A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\uD800\uDC00-\uDB7F\uDFFF";
15
+ exports.NC_NAME_CHAR = "-" + exports.NC_NAME_START_CHAR + ".0-9\u00B7\u0300-\u036F\u203F-\u2040";
16
+ //
17
+ // Regular expressions.
18
+ //
19
+ exports.NC_NAME_START_CHAR_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "]$", "u");
20
+ exports.NC_NAME_CHAR_RE = new RegExp("^[" + exports.NC_NAME_CHAR + "]$", "u");
21
+ exports.NC_NAME_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "][" + exports.NC_NAME_CHAR + "]*$", "u");
22
+ /**
23
+ * Determines whether a codepoint matches [[NC_NAME_START_CHAR]].
24
+ *
25
+ * @param c The code point.
26
+ *
27
+ * @returns ``true`` if the codepoint matches.
28
+ */
29
+ // tslint:disable-next-line:cyclomatic-complexity
30
+ function isNCNameStartChar(c) {
31
+ return ((c >= 0x41 && c <= 0x5A) ||
32
+ c === 0x5F ||
33
+ (c >= 0x61 && c <= 0x7A) ||
34
+ (c >= 0xC0 && c <= 0xD6) ||
35
+ (c >= 0xD8 && c <= 0xF6) ||
36
+ (c >= 0x00F8 && c <= 0x02FF) ||
37
+ (c >= 0x0370 && c <= 0x037D) ||
38
+ (c >= 0x037F && c <= 0x1FFF) ||
39
+ (c >= 0x200C && c <= 0x200D) ||
40
+ (c >= 0x2070 && c <= 0x218F) ||
41
+ (c >= 0x2C00 && c <= 0x2FEF) ||
42
+ (c >= 0x3001 && c <= 0xD7FF) ||
43
+ (c >= 0xF900 && c <= 0xFDCF) ||
44
+ (c >= 0xFDF0 && c <= 0xFFFD) ||
45
+ (c >= 0x10000 && c <= 0xEFFFF));
46
+ }
47
+ exports.isNCNameStartChar = isNCNameStartChar;
48
+ /**
49
+ * Determines whether a codepoint matches [[NC_NAME_CHAR]].
50
+ *
51
+ * @param c The code point.
52
+ *
53
+ * @returns ``true`` if the codepoint matches.
54
+ */
55
+ function isNCNameChar(c) {
56
+ return isNCNameStartChar(c) ||
57
+ (c === 0x2D ||
58
+ c === 0x2E ||
59
+ (c >= 0x30 && c <= 0x39) ||
60
+ c === 0x00B7 ||
61
+ (c >= 0x0300 && c <= 0x036F) ||
62
+ (c >= 0x203F && c <= 0x2040));
63
+ }
64
+ exports.isNCNameChar = isNCNameChar;
65
+ //# sourceMappingURL=ed3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ed3.js","sourceRoot":"","sources":["../../../../src/xmlns/1.0/ed3.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,EAAE;AACF,aAAa;AACb,EAAE;AAEF,2CAA2C;AAC9B,QAAA,kBAAkB,GAAG,iLAA2K,CAAC;AAEjM,QAAA,YAAY,GACvB,MAAI,0BAAkB,yCAAsC,CAAC;AAE/D,EAAE;AACF,uBAAuB;AACvB,EAAE;AAEW,QAAA,qBAAqB,GAChC,IAAI,MAAM,CAAC,OAAK,0BAAkB,OAAI,EAAE,GAAG,CAAC,CAAC;AAElC,QAAA,eAA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,CAAC,CAAC,CAAC;QACzB,CAAC,CAAC,KAAK,IAAI;YACV,CAAC,KAAK,IAAI;YACV,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;YACxB,CAAC,KAAK,MAAM;YACZ,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,CAAC;YAC5B,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC;AACnC,CAAC;AARD,oCAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft",
3
- "version": "0.0.771",
3
+ "version": "0.0.773",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -116,8 +116,8 @@
116
116
  "test": "cd ../.. && vitest run packages/toolcraft/src",
117
117
  "test:unit": "cd ../.. && vitest run packages/toolcraft/src",
118
118
  "lint": "cd ../.. && eslint packages/toolcraft/src --ext ts && tsc -p packages/toolcraft/tsconfig.json --noEmit",
119
- "prepack": "\"$npm_node_execpath\" \"$npm_execpath\" --prefix ../.. run build:workspaces -- --workspace=\"$npm_package_name\" >&2 && node ../../scripts/manage-bundled-workspace-deps.mjs prepare . toolcraft-schema toolcraft-design @poe-code/frontmatter @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/agent-defs @poe-code/config-mutations @poe-code/user-error @poe-code/process-runner mcp-oauth-server tiny-http-mcp-server tiny-mcp-client tiny-stdio-mcp-server auth-store jose fast-string-width fast-wrap-ansi ignore jsonc-parser sisteransi smol-toml yaml @poe-code/safe-fs @poe-code/xml-ast @noble/hashes @poe-code/terminal-text",
120
- "postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . toolcraft-schema toolcraft-design @poe-code/frontmatter @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/agent-defs @poe-code/config-mutations @poe-code/user-error @poe-code/process-runner mcp-oauth-server tiny-http-mcp-server tiny-mcp-client tiny-stdio-mcp-server auth-store jose fast-string-width fast-wrap-ansi ignore jsonc-parser sisteransi smol-toml yaml @poe-code/safe-fs @poe-code/xml-ast @noble/hashes @poe-code/terminal-text"
119
+ "prepack": "\"$npm_node_execpath\" \"$npm_execpath\" --prefix ../.. run build:workspaces -- --workspace=\"$npm_package_name\" >&2 && node ../../scripts/manage-bundled-workspace-deps.mjs prepare . toolcraft-schema toolcraft-design @poe-code/frontmatter @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/agent-defs @poe-code/config-mutations @poe-code/user-error @poe-code/process-runner mcp-oauth-server tiny-http-mcp-server tiny-mcp-client tiny-stdio-mcp-server auth-store jose fast-string-width fast-wrap-ansi ignore jsonc-parser sisteransi smol-toml yaml @poe-code/safe-fs @poe-code/xml-ast @noble/hashes @poe-code/terminal-text saxes",
120
+ "postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . toolcraft-schema toolcraft-design @poe-code/frontmatter @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/agent-defs @poe-code/config-mutations @poe-code/user-error @poe-code/process-runner mcp-oauth-server tiny-http-mcp-server tiny-mcp-client tiny-stdio-mcp-server auth-store jose fast-string-width fast-wrap-ansi ignore jsonc-parser sisteransi smol-toml yaml @poe-code/safe-fs @poe-code/xml-ast @noble/hashes @poe-code/terminal-text saxes"
121
121
  },
122
122
  "dependencies": {
123
123
  "commander": "^13.1.0",
@@ -129,7 +129,8 @@
129
129
  "sisteransi": "^1.0.5",
130
130
  "smol-toml": "^1.3.0",
131
131
  "yaml": "^2.8.2",
132
- "@noble/hashes": "2.4.0"
132
+ "@noble/hashes": "2.4.0",
133
+ "saxes": "6.0.0"
133
134
  },
134
135
  "files": [
135
136
  "LICENSE",
@@ -172,10 +173,11 @@
172
173
  "@poe-code/safe-fs",
173
174
  "@poe-code/xml-ast",
174
175
  "@noble/hashes",
175
- "@poe-code/terminal-text"
176
+ "@poe-code/terminal-text",
177
+ "saxes"
176
178
  ],
177
179
  "optionalDependencies": {
178
- "toolcraft-schema": "0.0.771",
180
+ "toolcraft-schema": "0.0.773",
179
181
  "toolcraft-design": "*",
180
182
  "@poe-code/frontmatter": "*",
181
183
  "@poe-code/agent-mcp-config": "*",