paragma 0.3.0 → 0.3.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.
- package/README.md +2 -1
- package/SHA256SUMS +6 -6
- package/install.js +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -142,6 +142,7 @@ pg write --decision "..." --why "..." --alternatives "..."
|
|
|
142
142
|
pg write --error "<error line>" --cause "..." --fix "..."
|
|
143
143
|
pg write payments/provider --file notes.md # a note; long text from a file or stdin (-)
|
|
144
144
|
pg finish --done 1 "what changed, what is next" # tick off steps, leave the handoff
|
|
145
|
+
pg steps # the steps with their numbers (--drop 4, --edit 4 "text")
|
|
145
146
|
pg ripple # what a change reaches: callers left as they were, tests to run
|
|
146
147
|
pg tree # the code: files and symbols, with the notes about them marked
|
|
147
148
|
pg ls # projects, or the notes of one; also pg mv, pg rm, pg doctor
|
|
@@ -166,7 +167,7 @@ pg run -- npm publish --token '$NPM_PUBLISH_TOKEN'
|
|
|
166
167
|
pg git
|
|
167
168
|
```
|
|
168
169
|
|
|
169
|
-
Opens a small screen: sign in to GitHub (with the GitHub CLI or the sign-in git already has, else in the browser with a code), then choose where the memory goes: a new private repository (`paragma-memory
|
|
170
|
+
Opens a small screen: sign in to GitHub (with the GitHub CLI or the sign-in git already has, else in the browser with a code), then choose where the memory goes: a new private repository (`paragma-memory`, of your account or of one of its organizations), or one you have, in a `Paragma/` folder on its own branch or on its main branch. Choosing a public repository asks first. The `.env` files go only if you say so, and never to a public repository.
|
|
170
171
|
|
|
171
172
|
From then on every change goes there by itself, a few seconds after it is made, in the background: the agent never waits for it. What other computers sent comes in the same way. On a new computer, `pg git` finds the memory in your repositories (your own and your organizations') and restores it, joined with whatever is already there. The indexes and the short-lived state in `.pg/` never go; they are rebuilt.
|
|
172
173
|
|
package/SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
a134291669ba5227ce6255d9306e57435976d614b91d49dbb0a59ea90fc5c1e6 pg-darwin-arm64
|
|
2
|
+
8f675646da031ca721beb9ab9093b85f5726e8019d764df15dd15701979669a4 pg-darwin-x64
|
|
3
|
+
fee8a1f377609ef234a07645cb0717c839c00f6b9444f21bc38abc3d801dca79 pg-linux-arm64
|
|
4
|
+
2ca49924a6d2cf676b7761d4071745edd246c4bba7f3f9e36c8497ececa0ace5 pg-linux-x64
|
|
5
|
+
41466ebb5a6b003ffc4b1c51ac33e6295ae50a9da16be618ce3075f3704a036e pg-windows-arm64.exe
|
|
6
|
+
04d11a528fed464ea4d8667571e914173578578532332604a4f5f2b80b3570b3 pg-windows-x64.exe
|
package/install.js
CHANGED
|
@@ -145,15 +145,18 @@ function shims(exe) {
|
|
|
145
145
|
"#!/usr/bin/env pwsh",
|
|
146
146
|
`# ${MARK}`,
|
|
147
147
|
"$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent",
|
|
148
|
+
"# --done 1,3 is an array here: passed on as 1,3 (as PowerShell passes it",
|
|
149
|
+
"# to a program it runs itself), not as \"1 3\"",
|
|
150
|
+
"$a=@(foreach ($x in $args) { if ($x -is [array]) { $x -join ',' } else { $x } })",
|
|
148
151
|
`if (-not (Test-Path "$basedir/${slash(exe)}")) {`,
|
|
149
152
|
" # the binary is gone (an update): Node's launcher downloads it again",
|
|
150
|
-
` & node "$basedir/${slash(launcher)}"
|
|
153
|
+
` & node "$basedir/${slash(launcher)}" @a`,
|
|
151
154
|
" exit $LASTEXITCODE",
|
|
152
155
|
"}",
|
|
153
156
|
"if ($MyInvocation.ExpectingInput) {",
|
|
154
|
-
` $input | & "$basedir/${slash(exe)}"
|
|
157
|
+
` $input | & "$basedir/${slash(exe)}" @a`,
|
|
155
158
|
"} else {",
|
|
156
|
-
` & "$basedir/${slash(exe)}"
|
|
159
|
+
` & "$basedir/${slash(exe)}" @a`,
|
|
157
160
|
"}",
|
|
158
161
|
"exit $LASTEXITCODE",
|
|
159
162
|
"",
|
package/package.json
CHANGED