agent-remnote 1.3.1 → 1.4.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.
- package/CHANGELOG.md +38 -2
- package/README.md +21 -0
- package/builtin-scenarios/catalog.json +62 -0
- package/builtin-scenarios/packages/dn_recent_todos_to_today_move.json +85 -0
- package/builtin-scenarios/packages/dn_recent_todos_to_today_portal.json +85 -0
- package/dist/main.js +9117 -4667
- package/package.json +2 -1
- package/plugin-artifacts/PluginZip.zip +0 -0
- package/plugin-artifacts/dist/build-info.json +8 -0
- package/plugin-artifacts/dist/index-sandbox.js +1 -1
- package/plugin-artifacts/dist/index.js +1 -1
- package/plugin-artifacts/dist/indexPlugin-BOnVUzfc.js +12 -0
- package/plugin-artifacts/dist/indexPlugin-DcUIJct4.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,46 @@
|
|
|
1
1
|
# agent-remnote
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d5e52bc: Deliver Wave 1 command-mode parity for RemNote business commands.
|
|
8
|
+
|
|
9
|
+
This release introduces a shared `ModeParityRuntime` and executable command
|
|
10
|
+
contract registry so Wave 1 business commands keep the same business semantics
|
|
11
|
+
in local mode and remote mode when `apiBaseUrl` is configured.
|
|
12
|
+
|
|
13
|
+
Wave 1 parity now covers the current business command set, including:
|
|
14
|
+
|
|
15
|
+
- search and analytical read commands such as `search`, `rem outline`,
|
|
16
|
+
`daily rem-id`, `page-id`, `by-reference`, `references`, `resolve-ref`,
|
|
17
|
+
and `query`
|
|
18
|
+
- plugin/UI-context/selection commands such as `plugin current`,
|
|
19
|
+
`plugin search`, `plugin ui-context *`, and `plugin selection *`
|
|
20
|
+
- write commands such as `daily write`, `apply`, `queue wait`, `rem create`,
|
|
21
|
+
`rem move`, `portal create`, `rem replace`, `rem children *`,
|
|
22
|
+
`rem set-text`, `rem delete`, and tag operations
|
|
23
|
+
|
|
24
|
+
This release also:
|
|
25
|
+
|
|
26
|
+
- moves host-dependent business semantics such as ref resolution, placement,
|
|
27
|
+
selection interpretation, contiguous sibling range resolution, title
|
|
28
|
+
inference, and receipt normalization behind shared parity runtime layers
|
|
29
|
+
- adds host-backed routing for deferred write commands that compile `ops`,
|
|
30
|
+
preventing remote mode from silently enqueueing to the caller-side local
|
|
31
|
+
store
|
|
32
|
+
- defines `powerup todo *` as the canonical Todo command family while keeping
|
|
33
|
+
top-level `todo *` as a supported alias
|
|
34
|
+
- aligns the authoritative parity inventory, CLI/HTTP/SSoT docs, and spec
|
|
35
|
+
ledgers for the Wave 1 boundary
|
|
36
|
+
- expands command-level contract coverage and remote-first integration coverage,
|
|
37
|
+
including `/v1` and `/remnote/v1` base-path verification
|
|
38
|
+
|
|
39
|
+
## 1.3.3
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
|
6
42
|
|
|
7
|
-
-
|
|
43
|
+
- ca915b7: Fix `apply --payload` so nested `markdown` fields expand input-spec values like `@file`, `-`, and `@@literal`, and harden queue enqueue/wait behavior by making enqueue atomic to reduce CI and `--wait` flakiness.
|
|
8
44
|
|
|
9
45
|
## 1.3.0
|
|
10
46
|
|
package/README.md
CHANGED
|
@@ -17,6 +17,24 @@ agent-remnote --json plugin current --compact
|
|
|
17
17
|
agent-remnote plugin serve
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
## Write surface
|
|
21
|
+
|
|
22
|
+
Core write commands use the reset axes `subject / from / to / at / portal`.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
agent-remnote --json rem create --at standalone --markdown @./note.md --title "Doc"
|
|
26
|
+
agent-remnote --json rem move --subject "id:<remId>" --at "parent[0]:id:<parentId>" --portal in-place
|
|
27
|
+
agent-remnote --json portal create --to "id:<targetRemId>" --at "after:id:<anchorRemId>"
|
|
28
|
+
agent-remnote --json rem children append --subject "id:<parentRemId>" --markdown @./children.md
|
|
29
|
+
agent-remnote --json tag add --tag "id:<tagRemId>" --to "id:<remId1>" --to "id:<remId2>"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Notes:
|
|
33
|
+
|
|
34
|
+
- `rem create --from-selection --portal in-place` is the preferred original-slot backfill path.
|
|
35
|
+
- repeated `--from ... --portal in-place` is an advanced path that requires one contiguous sibling range under one parent.
|
|
36
|
+
- `tag add/remove` are relation writes. Repeated `--tag` and repeated `--to` expand as a cross-product, not pairwise.
|
|
37
|
+
|
|
20
38
|
## Remote mode
|
|
21
39
|
|
|
22
40
|
Configure once in `~/.agent-remnote/config.json`:
|
|
@@ -44,6 +62,9 @@ agent-remnote search --query "keyword"
|
|
|
44
62
|
agent-remnote plugin current --compact
|
|
45
63
|
```
|
|
46
64
|
|
|
65
|
+
The authoritative inventory for parity-mandatory business commands lives in
|
|
66
|
+
`docs/ssot/agent-remnote/runtime-mode-and-command-parity.md`.
|
|
67
|
+
|
|
47
68
|
For local RemNote plugin loading, serve the embedded plugin artifacts at the default URL:
|
|
48
69
|
|
|
49
70
|
```bash
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "dn_recent_todos_to_today_move",
|
|
4
|
+
"kind": "scenario_package",
|
|
5
|
+
"title": "Recent DN todos to today (move)",
|
|
6
|
+
"summary": "Collect recent daily note todos and move them under the target daily note.",
|
|
7
|
+
"source": "builtin",
|
|
8
|
+
"owner": "agent-remnote",
|
|
9
|
+
"version": 1,
|
|
10
|
+
"package_path": "packages/agent-remnote/builtin-scenarios/packages/dn_recent_todos_to_today_move.json",
|
|
11
|
+
"package_id": "dn_recent_todos_to_today_move",
|
|
12
|
+
"package_version": 1,
|
|
13
|
+
"tags": ["daily-note", "todo", "move"],
|
|
14
|
+
"vars": [
|
|
15
|
+
{
|
|
16
|
+
"name": "source_scope",
|
|
17
|
+
"type": "scope",
|
|
18
|
+
"required": false,
|
|
19
|
+
"default": "daily:past-7d"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "target_ref",
|
|
23
|
+
"type": "ref",
|
|
24
|
+
"required": false,
|
|
25
|
+
"default": "daily:today"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"action_capabilities": ["rem.move"],
|
|
29
|
+
"remote_parity_required": true,
|
|
30
|
+
"review_status": "planned_namespace_pending_promotion"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "dn_recent_todos_to_today_portal",
|
|
34
|
+
"kind": "scenario_package",
|
|
35
|
+
"title": "Recent DN todos to today (portal)",
|
|
36
|
+
"summary": "Collect recent daily note todos and portal them into the target daily note.",
|
|
37
|
+
"source": "builtin",
|
|
38
|
+
"owner": "agent-remnote",
|
|
39
|
+
"version": 1,
|
|
40
|
+
"package_path": "packages/agent-remnote/builtin-scenarios/packages/dn_recent_todos_to_today_portal.json",
|
|
41
|
+
"package_id": "dn_recent_todos_to_today_portal",
|
|
42
|
+
"package_version": 1,
|
|
43
|
+
"tags": ["daily-note", "todo", "portal"],
|
|
44
|
+
"vars": [
|
|
45
|
+
{
|
|
46
|
+
"name": "source_scope",
|
|
47
|
+
"type": "scope",
|
|
48
|
+
"required": false,
|
|
49
|
+
"default": "daily:past-7d"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "target_ref",
|
|
53
|
+
"type": "ref",
|
|
54
|
+
"required": false,
|
|
55
|
+
"default": "daily:today"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"action_capabilities": ["portal.create"],
|
|
59
|
+
"remote_parity_required": true,
|
|
60
|
+
"review_status": "planned_namespace_pending_promotion"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dn_recent_todos_to_today_move",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"meta": {
|
|
5
|
+
"title": "Recent DN todos to today (move)",
|
|
6
|
+
"owner": "agent-remnote",
|
|
7
|
+
"description": "Collect recent daily note todos and move them under the target daily note."
|
|
8
|
+
},
|
|
9
|
+
"vars": [
|
|
10
|
+
{
|
|
11
|
+
"name": "source_scope",
|
|
12
|
+
"type": "scope",
|
|
13
|
+
"required": false,
|
|
14
|
+
"default": "daily:past-7d",
|
|
15
|
+
"description": "Recent daily-note scope used to select Todo entries."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "target_ref",
|
|
19
|
+
"type": "ref",
|
|
20
|
+
"required": false,
|
|
21
|
+
"default": "daily:today",
|
|
22
|
+
"description": "Target daily note that receives the selected Todo entries."
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"nodes": [
|
|
26
|
+
{
|
|
27
|
+
"id": "recent_todos",
|
|
28
|
+
"kind": "selector",
|
|
29
|
+
"selector_kind": "query",
|
|
30
|
+
"output_slots": ["selection"],
|
|
31
|
+
"input": {
|
|
32
|
+
"query": {
|
|
33
|
+
"version": 2,
|
|
34
|
+
"root": {
|
|
35
|
+
"type": "powerup",
|
|
36
|
+
"powerup": {
|
|
37
|
+
"by": "rcrt",
|
|
38
|
+
"value": "t"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"scope": {
|
|
42
|
+
"kind": "var",
|
|
43
|
+
"name": "source_scope"
|
|
44
|
+
},
|
|
45
|
+
"shape": {
|
|
46
|
+
"roots_only": true
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "move_to_today",
|
|
53
|
+
"kind": "action",
|
|
54
|
+
"depends_on": ["recent_todos"],
|
|
55
|
+
"output_slots": ["receipt", "durable_target"],
|
|
56
|
+
"command_id": "rem.move",
|
|
57
|
+
"input": {
|
|
58
|
+
"selection": {
|
|
59
|
+
"kind": "node_output",
|
|
60
|
+
"node": "recent_todos",
|
|
61
|
+
"output": "selection"
|
|
62
|
+
},
|
|
63
|
+
"target_ref": {
|
|
64
|
+
"kind": "var",
|
|
65
|
+
"name": "target_ref"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"entry": ["recent_todos"],
|
|
71
|
+
"outputs": ["move_to_today"],
|
|
72
|
+
"policy": {
|
|
73
|
+
"wait": false,
|
|
74
|
+
"remote_parity_required": true,
|
|
75
|
+
"max_items": 200,
|
|
76
|
+
"idempotency": "selection_rem_ids",
|
|
77
|
+
"fallback_strategy": "allow_empty_selection"
|
|
78
|
+
},
|
|
79
|
+
"capabilities": {
|
|
80
|
+
"requires": {
|
|
81
|
+
"powerup_metadata": true,
|
|
82
|
+
"write_runtime": true
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dn_recent_todos_to_today_portal",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"meta": {
|
|
5
|
+
"title": "Recent DN todos to today (portal)",
|
|
6
|
+
"owner": "agent-remnote",
|
|
7
|
+
"description": "Collect recent daily note todos and portal them into the target daily note."
|
|
8
|
+
},
|
|
9
|
+
"vars": [
|
|
10
|
+
{
|
|
11
|
+
"name": "source_scope",
|
|
12
|
+
"type": "scope",
|
|
13
|
+
"required": false,
|
|
14
|
+
"default": "daily:past-7d",
|
|
15
|
+
"description": "Recent daily-note scope used to select Todo entries."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "target_ref",
|
|
19
|
+
"type": "ref",
|
|
20
|
+
"required": false,
|
|
21
|
+
"default": "daily:today",
|
|
22
|
+
"description": "Target daily note that receives the selected Todo portals."
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"nodes": [
|
|
26
|
+
{
|
|
27
|
+
"id": "recent_todos",
|
|
28
|
+
"kind": "selector",
|
|
29
|
+
"selector_kind": "query",
|
|
30
|
+
"output_slots": ["selection"],
|
|
31
|
+
"input": {
|
|
32
|
+
"query": {
|
|
33
|
+
"version": 2,
|
|
34
|
+
"root": {
|
|
35
|
+
"type": "powerup",
|
|
36
|
+
"powerup": {
|
|
37
|
+
"by": "rcrt",
|
|
38
|
+
"value": "t"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"scope": {
|
|
42
|
+
"kind": "var",
|
|
43
|
+
"name": "source_scope"
|
|
44
|
+
},
|
|
45
|
+
"shape": {
|
|
46
|
+
"roots_only": true
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "portal_to_today",
|
|
53
|
+
"kind": "action",
|
|
54
|
+
"depends_on": ["recent_todos"],
|
|
55
|
+
"output_slots": ["receipt", "durable_target"],
|
|
56
|
+
"command_id": "portal.create",
|
|
57
|
+
"input": {
|
|
58
|
+
"selection": {
|
|
59
|
+
"kind": "node_output",
|
|
60
|
+
"node": "recent_todos",
|
|
61
|
+
"output": "selection"
|
|
62
|
+
},
|
|
63
|
+
"target_ref": {
|
|
64
|
+
"kind": "var",
|
|
65
|
+
"name": "target_ref"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"entry": ["recent_todos"],
|
|
71
|
+
"outputs": ["portal_to_today"],
|
|
72
|
+
"policy": {
|
|
73
|
+
"wait": false,
|
|
74
|
+
"remote_parity_required": true,
|
|
75
|
+
"max_items": 200,
|
|
76
|
+
"idempotency": "selection_rem_ids",
|
|
77
|
+
"fallback_strategy": "allow_empty_selection"
|
|
78
|
+
},
|
|
79
|
+
"capabilities": {
|
|
80
|
+
"requires": {
|
|
81
|
+
"powerup_metadata": true,
|
|
82
|
+
"write_runtime": true
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|