@quolu/lattice 0.63.0 → 0.63.2

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 (60) hide show
  1. package/LICENSE +147 -147
  2. package/README.ja.md +378 -378
  3. package/README.md +303 -303
  4. package/bin/lattice-mcp.mjs +0 -0
  5. package/bin/lattice-scripted-adapter.mjs +0 -0
  6. package/bin/lattice-scripted-worker.mjs +0 -0
  7. package/bin/lattice-work-order-adapter.mjs +0 -0
  8. package/bin/lattice.mjs +3 -1
  9. package/docs/bridge-setup.md +248 -248
  10. package/docs/schemas/lattice.executor_packet.v1.schema.json +57 -57
  11. package/docs/schemas/lattice.executor_receipt.v1.schema.json +66 -66
  12. package/docs/schemas/lattice.phase_todo_revision.v3.schema.json +360 -360
  13. package/docs/schemas/lattice.plan_create_input.v1.schema.json +56 -56
  14. package/docs/schemas/lattice.plan_create_input.v2.schema.json +72 -72
  15. package/docs/schemas/lattice.plan_create_input.v3.schema.json +81 -81
  16. package/docs/schemas/lattice.plan_create_input.v4.schema.json +357 -85
  17. package/docs/schemas/lattice.plan_scope_review.v1.schema.json +55 -55
  18. package/docs/schemas/lattice.run_request.v1.schema.json +238 -238
  19. package/docs/schemas/lattice.runtime_adapter_capabilities.v2.schema.json +55 -55
  20. package/docs/schemas/lattice.runtime_adapter_registration_input.v1.schema.json +78 -78
  21. package/docs/schemas/lattice.runtime_adapter_registration_input.v2.schema.json +86 -86
  22. package/docs/schemas/lattice.todo_extraction.v2.schema.json +298 -298
  23. package/docs/schemas/lattice.todo_extraction.v3.schema.json +150 -150
  24. package/docs/schemas/lattice.todo_extraction.v4.schema.json +161 -161
  25. package/docs/schemas/lattice.todo_revision.v2.schema.json +260 -260
  26. package/docs/schemas/lattice.todo_revision_set.v3.schema.json +363 -363
  27. package/docs/schemas/lattice.todo_structure_binding.v1.schema.json +47 -47
  28. package/docs/schemas/lattice.todo_structure_realization.v1.schema.json +55 -55
  29. package/docs/schemas/lattice.todo_structure_set.v1.schema.json +264 -264
  30. package/package.json +109 -109
  31. package/sensor/LICENSE +21 -21
  32. package/sensor/NOTICE +19 -19
  33. package/sensor/dist/bin/lattice-sensor.js +9 -9
  34. package/sensor/dist/db/index.js +24 -24
  35. package/sensor/dist/db/migrations.js +41 -41
  36. package/sensor/dist/db/queries.js +164 -164
  37. package/sensor/dist/db/schema.sql +205 -205
  38. package/sensor/dist/directory.js +5 -5
  39. package/sensor/dist/extraction/wasm/tree-sitter-c_sharp.wasm +0 -0
  40. package/sensor/dist/extraction/wasm/tree-sitter-cfml.wasm +0 -0
  41. package/sensor/dist/extraction/wasm/tree-sitter-cfquery.wasm +0 -0
  42. package/sensor/dist/extraction/wasm/tree-sitter-cfscript.wasm +0 -0
  43. package/sensor/dist/extraction/wasm/tree-sitter-cobol.wasm +0 -0
  44. package/sensor/dist/extraction/wasm/tree-sitter-erlang.wasm +0 -0
  45. package/sensor/dist/extraction/wasm/tree-sitter-go.wasm +0 -0
  46. package/sensor/dist/extraction/wasm/tree-sitter-java.wasm +0 -0
  47. package/sensor/dist/extraction/wasm/tree-sitter-javascript.wasm +0 -0
  48. package/sensor/dist/extraction/wasm/tree-sitter-nix.wasm +0 -0
  49. package/sensor/dist/extraction/wasm/tree-sitter-pascal.wasm +0 -0
  50. package/sensor/dist/extraction/wasm/tree-sitter-python.wasm +0 -0
  51. package/sensor/dist/extraction/wasm/tree-sitter-tsx.wasm +0 -0
  52. package/sensor/dist/extraction/wasm/tree-sitter-typescript.wasm +0 -0
  53. package/sensor/dist/extraction/wasm/tree-sitter-vbnet.wasm +0 -0
  54. package/sensor/dist/mcp/liveness-watchdog.js +53 -53
  55. package/sensor/dist/mcp/server-instructions.js +95 -95
  56. package/sensor/package.json +56 -56
  57. package/src/project-cli.mjs +164 -24
  58. package/src/todo-authoring-input.mjs +35 -5
  59. package/src/todo-cli.mjs +2 -2
  60. package/src/todo-store.mjs +52 -21
@@ -1,78 +1,78 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://github.com/kitepon/Lattice/blob/main/docs/schemas/lattice.runtime_adapter_registration_input.v1.schema.json",
4
- "title": "lattice.runtime_adapter_registration_input.v1",
5
- "description": "lattice run adapter register の入力契約。digestと固定capabilitiesはCLIが導出する。",
6
- "oneOf": [
7
- {
8
- "type": "object",
9
- "additionalProperties": false,
10
- "required": [
11
- "schema",
12
- "adapter_kind",
13
- "launch_kind",
14
- "binary_path",
15
- "argv",
16
- "config_ref"
17
- ],
18
- "properties": {
19
- "schema": {
20
- "const": "lattice.runtime_adapter_registration_input.v1"
21
- },
22
- "adapter_kind": {
23
- "$ref": "#/$defs/identifier"
24
- },
25
- "launch_kind": {
26
- "const": "host_binary"
27
- },
28
- "binary_path": {
29
- "type": "string",
30
- "pattern": "^/"
31
- },
32
- "argv": {
33
- "type": "array",
34
- "maxItems": 64,
35
- "items": {
36
- "type": "string",
37
- "pattern": "^[^\\u0000]*$"
38
- }
39
- },
40
- "config_ref": {
41
- "type": "string",
42
- "minLength": 1
43
- }
44
- }
45
- },
46
- {
47
- "type": "object",
48
- "additionalProperties": false,
49
- "required": [
50
- "schema",
51
- "adapter_kind",
52
- "launch_kind",
53
- "endpoint"
54
- ],
55
- "properties": {
56
- "schema": {
57
- "const": "lattice.runtime_adapter_registration_input.v1"
58
- },
59
- "adapter_kind": {
60
- "$ref": "#/$defs/identifier"
61
- },
62
- "launch_kind": {
63
- "const": "existing_endpoint"
64
- },
65
- "endpoint": {
66
- "type": "string",
67
- "minLength": 1
68
- }
69
- }
70
- }
71
- ],
72
- "$defs": {
73
- "identifier": {
74
- "type": "string",
75
- "pattern": "^[0-9A-Za-z](?:[0-9A-Za-z._-]{0,127})$"
76
- }
77
- }
78
- }
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/kitepon/Lattice/blob/main/docs/schemas/lattice.runtime_adapter_registration_input.v1.schema.json",
4
+ "title": "lattice.runtime_adapter_registration_input.v1",
5
+ "description": "lattice run adapter register の入力契約。digestと固定capabilitiesはCLIが導出する。",
6
+ "oneOf": [
7
+ {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "required": [
11
+ "schema",
12
+ "adapter_kind",
13
+ "launch_kind",
14
+ "binary_path",
15
+ "argv",
16
+ "config_ref"
17
+ ],
18
+ "properties": {
19
+ "schema": {
20
+ "const": "lattice.runtime_adapter_registration_input.v1"
21
+ },
22
+ "adapter_kind": {
23
+ "$ref": "#/$defs/identifier"
24
+ },
25
+ "launch_kind": {
26
+ "const": "host_binary"
27
+ },
28
+ "binary_path": {
29
+ "type": "string",
30
+ "pattern": "^/"
31
+ },
32
+ "argv": {
33
+ "type": "array",
34
+ "maxItems": 64,
35
+ "items": {
36
+ "type": "string",
37
+ "pattern": "^[^\\u0000]*$"
38
+ }
39
+ },
40
+ "config_ref": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ }
44
+ }
45
+ },
46
+ {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "required": [
50
+ "schema",
51
+ "adapter_kind",
52
+ "launch_kind",
53
+ "endpoint"
54
+ ],
55
+ "properties": {
56
+ "schema": {
57
+ "const": "lattice.runtime_adapter_registration_input.v1"
58
+ },
59
+ "adapter_kind": {
60
+ "$ref": "#/$defs/identifier"
61
+ },
62
+ "launch_kind": {
63
+ "const": "existing_endpoint"
64
+ },
65
+ "endpoint": {
66
+ "type": "string",
67
+ "minLength": 1
68
+ }
69
+ }
70
+ }
71
+ ],
72
+ "$defs": {
73
+ "identifier": {
74
+ "type": "string",
75
+ "pattern": "^[0-9A-Za-z](?:[0-9A-Za-z._-]{0,127})$"
76
+ }
77
+ }
78
+ }
@@ -1,86 +1,86 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://github.com/kitepon/Lattice/blob/main/docs/schemas/lattice.runtime_adapter_registration_input.v2.schema.json",
4
- "title": "lattice.runtime_adapter_registration_input.v2",
5
- "description": "lattice run adapter register の入力契約。host_driven_epochでhostによるmanaged epoch駆動への同意を宣言し、digestと固定capabilitiesはCLIが導出する。",
6
- "oneOf": [
7
- {
8
- "type": "object",
9
- "additionalProperties": false,
10
- "required": [
11
- "schema",
12
- "adapter_kind",
13
- "launch_kind",
14
- "binary_path",
15
- "argv",
16
- "config_ref",
17
- "host_driven_epoch"
18
- ],
19
- "properties": {
20
- "schema": {
21
- "const": "lattice.runtime_adapter_registration_input.v2"
22
- },
23
- "adapter_kind": {
24
- "$ref": "#/$defs/identifier"
25
- },
26
- "launch_kind": {
27
- "const": "host_binary"
28
- },
29
- "binary_path": {
30
- "type": "string",
31
- "pattern": "^/"
32
- },
33
- "argv": {
34
- "type": "array",
35
- "maxItems": 64,
36
- "items": {
37
- "type": "string",
38
- "pattern": "^[^\\u0000]*$"
39
- }
40
- },
41
- "config_ref": {
42
- "type": "string",
43
- "minLength": 1
44
- },
45
- "host_driven_epoch": {
46
- "type": "boolean"
47
- }
48
- }
49
- },
50
- {
51
- "type": "object",
52
- "additionalProperties": false,
53
- "required": [
54
- "schema",
55
- "adapter_kind",
56
- "launch_kind",
57
- "endpoint",
58
- "host_driven_epoch"
59
- ],
60
- "properties": {
61
- "schema": {
62
- "const": "lattice.runtime_adapter_registration_input.v2"
63
- },
64
- "adapter_kind": {
65
- "$ref": "#/$defs/identifier"
66
- },
67
- "launch_kind": {
68
- "const": "existing_endpoint"
69
- },
70
- "endpoint": {
71
- "type": "string",
72
- "minLength": 1
73
- },
74
- "host_driven_epoch": {
75
- "type": "boolean"
76
- }
77
- }
78
- }
79
- ],
80
- "$defs": {
81
- "identifier": {
82
- "type": "string",
83
- "pattern": "^[0-9A-Za-z](?:[0-9A-Za-z._-]{0,127})$"
84
- }
85
- }
86
- }
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/kitepon/Lattice/blob/main/docs/schemas/lattice.runtime_adapter_registration_input.v2.schema.json",
4
+ "title": "lattice.runtime_adapter_registration_input.v2",
5
+ "description": "lattice run adapter register の入力契約。host_driven_epochでhostによるmanaged epoch駆動への同意を宣言し、digestと固定capabilitiesはCLIが導出する。",
6
+ "oneOf": [
7
+ {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "required": [
11
+ "schema",
12
+ "adapter_kind",
13
+ "launch_kind",
14
+ "binary_path",
15
+ "argv",
16
+ "config_ref",
17
+ "host_driven_epoch"
18
+ ],
19
+ "properties": {
20
+ "schema": {
21
+ "const": "lattice.runtime_adapter_registration_input.v2"
22
+ },
23
+ "adapter_kind": {
24
+ "$ref": "#/$defs/identifier"
25
+ },
26
+ "launch_kind": {
27
+ "const": "host_binary"
28
+ },
29
+ "binary_path": {
30
+ "type": "string",
31
+ "pattern": "^/"
32
+ },
33
+ "argv": {
34
+ "type": "array",
35
+ "maxItems": 64,
36
+ "items": {
37
+ "type": "string",
38
+ "pattern": "^[^\\u0000]*$"
39
+ }
40
+ },
41
+ "config_ref": {
42
+ "type": "string",
43
+ "minLength": 1
44
+ },
45
+ "host_driven_epoch": {
46
+ "type": "boolean"
47
+ }
48
+ }
49
+ },
50
+ {
51
+ "type": "object",
52
+ "additionalProperties": false,
53
+ "required": [
54
+ "schema",
55
+ "adapter_kind",
56
+ "launch_kind",
57
+ "endpoint",
58
+ "host_driven_epoch"
59
+ ],
60
+ "properties": {
61
+ "schema": {
62
+ "const": "lattice.runtime_adapter_registration_input.v2"
63
+ },
64
+ "adapter_kind": {
65
+ "$ref": "#/$defs/identifier"
66
+ },
67
+ "launch_kind": {
68
+ "const": "existing_endpoint"
69
+ },
70
+ "endpoint": {
71
+ "type": "string",
72
+ "minLength": 1
73
+ },
74
+ "host_driven_epoch": {
75
+ "type": "boolean"
76
+ }
77
+ }
78
+ }
79
+ ],
80
+ "$defs": {
81
+ "identifier": {
82
+ "type": "string",
83
+ "pattern": "^[0-9A-Za-z](?:[0-9A-Za-z._-]{0,127})$"
84
+ }
85
+ }
86
+ }