agent-carry 0.2.0 → 0.2.1
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
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Plugin 0.2.1: commands check the CLI version first and say how to upgrade if it is older, instead of aborting on an unknown-command error.
|
|
5
6
|
- Plugin 0.2.0: `/carry:share` and `/carry:pickup` ask what they need (session, encryption, passphrase source, destination folder, desktop app and account) instead of expecting flags. Needs the CLI from this release.
|
|
6
7
|
- `export --generate-passphrase` (saved to `FILE.pass`, never printed); `carry bundles`; `carry desktop-dirs`.
|
|
7
8
|
- `--desktop` targets the signed-in account (read from the app's log) instead of any folder with sessions, and works for a freshly signed-in account by borrowing only app-level settings.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-carry",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Move coding-agent sessions between machines and folders: path-portable, redacted, encrypted, merge-safe bundles. Claude Code today; adapter-ready for Codex and others.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carry",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Move coding-agent sessions between machines and folders: /carry:share exports a redacted, path-portable bundle, /carry:pickup imports one.",
|
|
5
5
|
"author": { "name": "Harsh Gajjar", "email": "harshgajjar2812@gmail.com" },
|
|
6
6
|
"license": "MIT"
|
|
@@ -4,19 +4,23 @@ argument-hint: [bundle-file]
|
|
|
4
4
|
allowed-tools: Bash(carry:*), Bash(npx -y agent-carry@latest:*), Bash(ls:*), Bash(pwd), AskUserQuestion
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
carry CLI version (this command needs 0.2.0 or newer): !`carry --version 2>&1 || echo 'not installed'`
|
|
8
|
+
|
|
7
9
|
Bundle files nearby (this folder, ~/Downloads, ~/Desktop), newest first:
|
|
8
10
|
|
|
9
|
-
!`carry bundles 2>&1 ||
|
|
11
|
+
!`carry bundles 2>&1 || true`
|
|
10
12
|
|
|
11
13
|
Current folder: !`pwd`
|
|
12
14
|
|
|
13
15
|
Claude desktop app account folders (macOS only; an error here just means no desktop app):
|
|
14
16
|
|
|
15
|
-
!`carry desktop-dirs 2>&1`
|
|
17
|
+
!`carry desktop-dirs 2>&1 || true`
|
|
16
18
|
|
|
17
19
|
Arguments the user typed: $ARGUMENTS
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
**Step 0.** Look at the version line above. If it says "not installed" or shows anything older than 0.2.0, stop and say exactly this, with nothing else: "This command needs the carry CLI 0.2.0 or newer. Run `npm i -g agent-carry@latest`, then try again." (If that install still gives an older version, 0.2.0 has not been published to npm yet.) Any error text shown in the listings below comes from the same cause; do not try to work around it.
|
|
22
|
+
|
|
23
|
+
You are importing one session with the `carry` CLI.
|
|
20
24
|
|
|
21
25
|
Ask with the AskUserQuestion tool, one short question at a time, and skip any question the typed arguments already answer. If AskUserQuestion is not available, ask as a short numbered list in plain text and wait.
|
|
22
26
|
|
package/plugin/commands/share.md
CHANGED
|
@@ -4,13 +4,17 @@ argument-hint: [optional carry export flags, e.g. -o FILE --strip-thinking]
|
|
|
4
4
|
allowed-tools: Bash(carry:*), Bash(npx -y agent-carry@latest:*), AskUserQuestion
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
carry CLI version (this command needs 0.2.0 or newer): !`carry --version 2>&1 || echo 'not installed'`
|
|
8
|
+
|
|
7
9
|
Sessions in this folder, newest first (the top one is usually this conversation):
|
|
8
10
|
|
|
9
|
-
!`carry list 2>&1 || npx -y agent-carry@latest list 2>&1`
|
|
11
|
+
!`carry list 2>&1 || npx -y agent-carry@latest list 2>&1 || true`
|
|
10
12
|
|
|
11
13
|
Arguments the user typed: $ARGUMENTS
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
**Step 0.** Look at the version line above. If it says "not installed" or shows anything older than 0.2.0, stop and say exactly this, with nothing else: "This command needs the carry CLI 0.2.0 or newer. Run `npm i -g agent-carry@latest`, then try again." (If that install still gives an older version, 0.2.0 has not been published to npm yet.) Any error text shown in the listings below comes from the same cause; do not try to work around it.
|
|
16
|
+
|
|
17
|
+
You are exporting one session with the `carry` CLI.
|
|
14
18
|
|
|
15
19
|
Ask with the AskUserQuestion tool, one short question at a time, and skip any question the typed arguments already answer. If AskUserQuestion is not available, ask the same questions as a short numbered list in plain text and wait for the reply.
|
|
16
20
|
|