@playola-radio/slipstream 0.1.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 (104) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +132 -0
  3. package/SKILL.md +63 -0
  4. package/THIRD-PARTY-NOTICES.md +36 -0
  5. package/contracts/interface/v2/schema.json +480 -0
  6. package/dist/answer-forwarder.js +58 -0
  7. package/dist/attribution-engine.js +164 -0
  8. package/dist/attribution-producer.js +153 -0
  9. package/dist/attribution-scoring.js +86 -0
  10. package/dist/attribution.js +120 -0
  11. package/dist/blob-source.js +100 -0
  12. package/dist/boundary-registry.js +47 -0
  13. package/dist/cas.js +99 -0
  14. package/dist/change-view.js +201 -0
  15. package/dist/claude-root-transcript.js +110 -0
  16. package/dist/cli.js +629 -0
  17. package/dist/clip-blob-reader.js +104 -0
  18. package/dist/clip-function-parser.js +83 -0
  19. package/dist/clip-language.js +15 -0
  20. package/dist/clip-projection-service.js +240 -0
  21. package/dist/clip-projection-worker.js +18 -0
  22. package/dist/clip-projection.js +585 -0
  23. package/dist/clip-worker-pool.js +118 -0
  24. package/dist/config.js +154 -0
  25. package/dist/control-client.js +98 -0
  26. package/dist/control-protocol.js +72 -0
  27. package/dist/daemon-location.js +33 -0
  28. package/dist/daemon.js +951 -0
  29. package/dist/display-fold.js +332 -0
  30. package/dist/engine.js +112 -0
  31. package/dist/entrypoint.js +17 -0
  32. package/dist/event.js +79 -0
  33. package/dist/evidence-ingest.js +60 -0
  34. package/dist/harness-context/claude.js +42 -0
  35. package/dist/harness-context/codex.js +49 -0
  36. package/dist/harness-context.js +49 -0
  37. package/dist/health.js +65 -0
  38. package/dist/http-reader.js +655 -0
  39. package/dist/http-security.js +50 -0
  40. package/dist/interface-projection.js +243 -0
  41. package/dist/interface-range-resolver.js +230 -0
  42. package/dist/interface-service.js +509 -0
  43. package/dist/interface-ts-pool.js +111 -0
  44. package/dist/interface-ts-worker.js +35 -0
  45. package/dist/interface-v2-comparison.js +135 -0
  46. package/dist/interface-v2-core.js +123 -0
  47. package/dist/interface-v2-typescript.js +448 -0
  48. package/dist/lock.js +197 -0
  49. package/dist/log-reader.js +148 -0
  50. package/dist/log.js +59 -0
  51. package/dist/maintenance.js +255 -0
  52. package/dist/mcp-forwarder.js +161 -0
  53. package/dist/mcp-protocol.js +92 -0
  54. package/dist/platform.js +21 -0
  55. package/dist/projection-admission.js +296 -0
  56. package/dist/projection-trace.js +17 -0
  57. package/dist/public-events.js +27 -0
  58. package/dist/question-hook.js +110 -0
  59. package/dist/questions.js +167 -0
  60. package/dist/reader-runtime.js +38 -0
  61. package/dist/reader.js +93 -0
  62. package/dist/recovery.js +303 -0
  63. package/dist/schema.js +108 -0
  64. package/dist/session.js +866 -0
  65. package/dist/sibling-module.js +10 -0
  66. package/dist/snapshot.js +15 -0
  67. package/dist/storage.js +111 -0
  68. package/dist/store-reader.js +185 -0
  69. package/dist/swift-grammar.js +268 -0
  70. package/dist/swift-interface-extract.js +344 -0
  71. package/dist/swift-interface.js +62 -0
  72. package/dist/swift-parse-host.js +174 -0
  73. package/dist/swift-parse-worker.js +34 -0
  74. package/dist/swift-parse.js +134 -0
  75. package/dist/swift-spans.js +62 -0
  76. package/dist/task-forwarder.js +152 -0
  77. package/dist/transcript/claude.js +199 -0
  78. package/dist/transcript/codex.js +132 -0
  79. package/dist/transcript/discovery.js +365 -0
  80. package/dist/transcript/file-reader.js +128 -0
  81. package/dist/transcript/fs-io.js +287 -0
  82. package/dist/transcript/runner.js +62 -0
  83. package/dist/transcript/steppers.js +30 -0
  84. package/dist/transcript/types.js +30 -0
  85. package/dist/transcript/watcher.js +133 -0
  86. package/dist/tui.js +168 -0
  87. package/package.json +60 -0
  88. package/schemas/projections/clip.v1.json +195 -0
  89. package/schemas/projections/clip.v2.json +212 -0
  90. package/schemas/projections/clip.v3.json +212 -0
  91. package/schemas/slipstream.capture.baseline.completed.v1.json +62 -0
  92. package/schemas/slipstream.capture.gap.v1.json +112 -0
  93. package/schemas/slipstream.change.attribution.v1.json +115 -0
  94. package/schemas/slipstream.enrichment.configured.v1.json +77 -0
  95. package/schemas/slipstream.enrichment.coverage.v1.json +95 -0
  96. package/schemas/slipstream.file.baselined.v1.json +122 -0
  97. package/schemas/slipstream.file.changed.v1.json +179 -0
  98. package/schemas/slipstream.harness.evidence.v1.json +145 -0
  99. package/schemas/slipstream.question.answered.v1.json +29 -0
  100. package/schemas/slipstream.question.dispatch_attempted.v1.json +28 -0
  101. package/schemas/slipstream.question.queued.v1.json +55 -0
  102. package/schemas/slipstream.session.resumed.v1.json +70 -0
  103. package/schemas/slipstream.session.started.v1.json +69 -0
  104. package/schemas/slipstream.task.started.v1.json +72 -0
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://slipstream.dev/schemas/slipstream.session.started.v1.json",
4
+ "title": "slipstream.session.started.v1",
5
+ "$comment": "CloudEvents 1.0 envelope. Self-contained by design: GET /v1/schemas/{type} returns everything needed to validate one event type. Unknown fields are permitted deliberately (forward compatibility is a contract).",
6
+ "type": "object",
7
+ "required": [
8
+ "specversion",
9
+ "id",
10
+ "source",
11
+ "type",
12
+ "datacontenttype",
13
+ "seq",
14
+ "time",
15
+ "data"
16
+ ],
17
+ "properties": {
18
+ "specversion": {
19
+ "const": "1.0"
20
+ },
21
+ "id": {
22
+ "type": "string",
23
+ "pattern": "^[1-9][0-9]*$"
24
+ },
25
+ "source": {
26
+ "type": "string",
27
+ "pattern": "^urn:slipstream:session:"
28
+ },
29
+ "type": {
30
+ "const": "slipstream.session.started.v1"
31
+ },
32
+ "datacontenttype": {
33
+ "const": "application/json"
34
+ },
35
+ "seq": {
36
+ "type": "string",
37
+ "pattern": "^[1-9][0-9]*$"
38
+ },
39
+ "time": {
40
+ "type": "string",
41
+ "format": "date-time"
42
+ },
43
+ "data": {
44
+ "type": "object",
45
+ "required": [
46
+ "session_id",
47
+ "root",
48
+ "max_bytes",
49
+ "started_at_ms"
50
+ ],
51
+ "properties": {
52
+ "session_id": {
53
+ "type": "string"
54
+ },
55
+ "root": {
56
+ "type": "string"
57
+ },
58
+ "max_bytes": {
59
+ "type": "integer",
60
+ "minimum": 0
61
+ },
62
+ "started_at_ms": {
63
+ "type": "integer",
64
+ "minimum": 0
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://slipstream.dev/schemas/slipstream.task.started.v1.json",
4
+ "title": "slipstream.task.started.v1",
5
+ "$comment": "A durable task boundary declared by the agent. `subject` is the CloudEvents grouping attribute `task/<task_id>`; `request_id` is the caller-supplied idempotency key. Self-contained; unknown fields permitted for forward compatibility.",
6
+ "type": "object",
7
+ "required": [
8
+ "specversion",
9
+ "id",
10
+ "source",
11
+ "type",
12
+ "datacontenttype",
13
+ "seq",
14
+ "time",
15
+ "subject",
16
+ "data"
17
+ ],
18
+ "properties": {
19
+ "specversion": {
20
+ "const": "1.0"
21
+ },
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^[1-9][0-9]*$"
25
+ },
26
+ "source": {
27
+ "type": "string",
28
+ "pattern": "^urn:slipstream:session:"
29
+ },
30
+ "type": {
31
+ "const": "slipstream.task.started.v1"
32
+ },
33
+ "datacontenttype": {
34
+ "const": "application/json"
35
+ },
36
+ "seq": {
37
+ "type": "string",
38
+ "pattern": "^[1-9][0-9]*$"
39
+ },
40
+ "time": {
41
+ "type": "string",
42
+ "format": "date-time"
43
+ },
44
+ "subject": {
45
+ "type": "string",
46
+ "pattern": "^task/"
47
+ },
48
+ "data": {
49
+ "type": "object",
50
+ "required": [
51
+ "session_id",
52
+ "task_id",
53
+ "request_id",
54
+ "title"
55
+ ],
56
+ "properties": {
57
+ "session_id": {
58
+ "type": "string"
59
+ },
60
+ "task_id": {
61
+ "type": "string"
62
+ },
63
+ "request_id": {
64
+ "type": "string"
65
+ },
66
+ "title": {
67
+ "type": "string"
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }