@potential-guide/task-protocol 0.0.0-stage → 0.1.0-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.
Files changed (63) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +84 -2
  3. package/dist/bundle-files.d.ts +9 -0
  4. package/dist/bundle-files.d.ts.map +1 -0
  5. package/dist/bundle-files.js +93 -0
  6. package/dist/bundle-files.js.map +1 -0
  7. package/dist/bundle-paths.d.ts +15 -0
  8. package/dist/bundle-paths.d.ts.map +1 -0
  9. package/dist/bundle-paths.js +24 -0
  10. package/dist/bundle-paths.js.map +1 -0
  11. package/dist/bundle-reference.d.ts +9 -0
  12. package/dist/bundle-reference.d.ts.map +1 -0
  13. package/dist/bundle-reference.js +82 -0
  14. package/dist/bundle-reference.js.map +1 -0
  15. package/dist/bundle.d.ts +80 -0
  16. package/dist/bundle.d.ts.map +1 -0
  17. package/dist/bundle.js +342 -0
  18. package/dist/bundle.js.map +1 -0
  19. package/dist/index.d.ts +11 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +11 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/json.d.ts +22 -0
  24. package/dist/json.d.ts.map +1 -0
  25. package/dist/json.js +118 -0
  26. package/dist/json.js.map +1 -0
  27. package/dist/logs.d.ts +84 -0
  28. package/dist/logs.d.ts.map +1 -0
  29. package/dist/logs.js +81 -0
  30. package/dist/logs.js.map +1 -0
  31. package/dist/presentation.d.ts +11 -0
  32. package/dist/presentation.d.ts.map +1 -0
  33. package/dist/presentation.js +32 -0
  34. package/dist/presentation.js.map +1 -0
  35. package/dist/projection.d.ts +21 -0
  36. package/dist/projection.d.ts.map +1 -0
  37. package/dist/projection.js +619 -0
  38. package/dist/projection.js.map +1 -0
  39. package/dist/run.d.ts +82 -0
  40. package/dist/run.d.ts.map +1 -0
  41. package/dist/run.js +24 -0
  42. package/dist/run.js.map +1 -0
  43. package/dist/schema-runtime.d.ts +29 -0
  44. package/dist/schema-runtime.d.ts.map +1 -0
  45. package/dist/schema-runtime.js +340 -0
  46. package/dist/schema-runtime.js.map +1 -0
  47. package/dist/schema.d.ts +8 -0
  48. package/dist/schema.d.ts.map +1 -0
  49. package/dist/schema.js +69 -0
  50. package/dist/schema.js.map +1 -0
  51. package/dist/task-schema-uri.d.ts +2 -0
  52. package/dist/task-schema-uri.d.ts.map +1 -0
  53. package/dist/task-schema-uri.js +2 -0
  54. package/dist/task-schema-uri.js.map +1 -0
  55. package/dist/types.d.ts +563 -0
  56. package/dist/types.d.ts.map +1 -0
  57. package/dist/types.js +2 -0
  58. package/dist/types.js.map +1 -0
  59. package/dist/worker.d.ts +6 -0
  60. package/dist/worker.d.ts.map +1 -0
  61. package/dist/worker.js +6 -0
  62. package/dist/worker.js.map +1 -0
  63. package/package.json +52 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export * from "./json.js";
2
+ export * from "./logs.js";
3
+ export * from "./run.js";
4
+ export type { ResolvedTaskBundle } from "./bundle.js";
5
+ export { taskSchemaUri } from "./task-schema-uri.js";
6
+ //# sourceMappingURL=worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../src/worker.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
package/dist/worker.js ADDED
@@ -0,0 +1,6 @@
1
+ // This runtime-only surface must not import the initializing protocol barrel.
2
+ export * from "./json.js";
3
+ export * from "./logs.js";
4
+ export * from "./run.js";
5
+ export { taskSchemaUri } from "./task-schema-uri.js";
6
+ //# sourceMappingURL=worker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.js","sourceRoot":"","sources":["../src/worker.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,55 @@
1
1
  {
2
2
  "name": "@potential-guide/task-protocol",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0-rc.0",
4
+ "description": "Pure generic task facts, projections and extension ports.",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./worker": {
15
+ "types": "./dist/worker.d.ts",
16
+ "import": "./dist/worker.js"
17
+ },
18
+ "./bundle-reference": {
19
+ "types": "./dist/bundle-reference.d.ts",
20
+ "import": "./dist/bundle-reference.js"
21
+ },
22
+ "./presentation": {
23
+ "types": "./dist/presentation.d.ts",
24
+ "import": "./dist/presentation.js"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
30
+ ],
31
+ "engines": {
32
+ "node": ">=22.13.0"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "license": "MIT",
38
+ "dependencies": {
39
+ "multiformats": "14.0.5",
40
+ "ajv": "8.20.0",
41
+ "yaml": "2.9.1"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/shazhou-ww/potential-guide.git",
46
+ "directory": "packages/task-protocol"
47
+ },
48
+ "scripts": {
49
+ "build": "tsc -b",
50
+ "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
51
+ "lint": "biome lint .",
52
+ "test": "tsx --test \"test/*.test.ts\"",
53
+ "typecheck": "tsc -b --pretty false"
54
+ }
6
55
  }