paragma 0.3.1 → 0.3.3

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 CHANGED
@@ -142,7 +142,8 @@ 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
+ pg steps # the steps with their numbers (--defer 4, --drop 4, --edit 4 "text")
146
+ pg ask "Which address on invoices?" # a question that waits on the user; the brief lists it until pg answer 1 "..."
146
147
  pg ripple # what a change reaches: callers left as they were, tests to run
147
148
  pg tree # the code: files and symbols, with the notes about them marked
148
149
  pg ls # projects, or the notes of one; also pg mv, pg rm, pg doctor
package/SHA256SUMS CHANGED
@@ -1,6 +1,6 @@
1
- 6579a0c8dc1eb5230c554f8172c15d32df4c40a6abe7456f1de867cda47f9615 pg-darwin-arm64
2
- 6a35f09f8ccab9425e255b46166e57f4d3e10f8334d510ef78167f6054de9ca9 pg-darwin-x64
3
- ecbb038504922ae7b1b0890faeedaf59e150906f1a797b560f792bbcfbd9b311 pg-linux-arm64
4
- 506e76072ccb6bb1917aea6a2fca9a9653062e718040dc0a739c1e1fcbb37c64 pg-linux-x64
5
- a5ed42cc2708f62ea067aadf05eca04035cc32df1849d3d2e89a1bca53b388e6 pg-windows-arm64.exe
6
- e28cc72aea793b6b87063c36eb352882f0147323705ba19052f3910f9c42f5e8 pg-windows-x64.exe
1
+ a0018da6befc7136020223aa2d3b5e650ffbcf279ed38d9d2e35a5f8a1b24314 pg-darwin-arm64
2
+ 2c15c641e9a5a2b9a3d4c2d5b76bd7655795d778550098d6b33c3a1d6c4cadce pg-darwin-x64
3
+ 72a8b896dc8d8762d157d7f471e14afb70ee85970a6be58e3189da076329391e pg-linux-arm64
4
+ 7c89e54701b2b2465681029b6ad1999c8e617ed30d360613bd49cc6f8d82323e pg-linux-x64
5
+ 2e782a8b7cc858ac0ce9727b65d6d03174cef37cae87297176009efeb0b47ad4 pg-windows-arm64.exe
6
+ eba1e7d3bf3a3179ecdedcf3bd164197c8a94f00db574f9606f0ee72e6030c2e 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)}" $args`,
153
+ ` & node "$basedir/${slash(launcher)}" @a`,
151
154
  " exit $LASTEXITCODE",
152
155
  "}",
153
156
  "if ($MyInvocation.ExpectingInput) {",
154
- ` $input | & "$basedir/${slash(exe)}" $args`,
157
+ ` $input | & "$basedir/${slash(exe)}" @a`,
155
158
  "} else {",
156
- ` & "$basedir/${slash(exe)}" $args`,
159
+ ` & "$basedir/${slash(exe)}" @a`,
157
160
  "}",
158
161
  "exit $LASTEXITCODE",
159
162
  "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paragma",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Project memory for AI coding agents: rules, decisions, past errors with their fixes, and handoffs between conversations, found by hybrid search.",
5
5
  "keywords": [
6
6
  "ai",