@guidanti/duet 1.4.0 → 1.5.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/README.md CHANGED
@@ -16,6 +16,8 @@ npm install --global @guidanti/duet
16
16
 
17
17
  Setup runs in this package's install script: it verifies the bundled artifact, installs it as an immutable managed runtime under `~/.duet/installations/`, self-checks that runtime, writes the dispatcher and selects the new build when the default is this distribution's own or there is none. Running the same command again is the retry and the upgrade; it installs beside what is there and removes nothing.
18
18
 
19
+ Setup also creates six starter instruction files under `~/.duet/instructions/`, one for each research, plan and execute manager/implementer role. Existing files are never overwritten, including on upgrades. Edit these files to customize your guidance across projects; keep a file empty to opt out of its starter text. Setup does not create or change `~/.duet/config.json`.
20
+
19
21
  `DUET_SETUP_PYTHON=/path/to/python3` names the interpreter yourself. `--foreground-scripts` shows the setup output. If npm is configured with `ignore-scripts`, no setup runs and the launcher says so.
20
22
 
21
23
  ## Uninstalling is not removing your runtimes
@@ -28,9 +30,9 @@ That removes this package and the `duet` npm linked onto your PATH. It removes n
28
30
 
29
31
  ## This build
30
32
 
31
- - version `1.4.0`, build `6eeb9601aa13c96a`
32
- - artifact `duet-1.4.0-py3-none-any.whl`
33
- - `sha256=050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0`
33
+ - version `1.5.0`, build `83e8ca0b8986f117`
34
+ - artifact `duet-1.5.0-py3-none-any.whl`
35
+ - `sha256=61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3`
34
36
 
35
37
  ## Permission to use duet
36
38
 
@@ -0,0 +1,15 @@
1
+ {
2
+ "build_id": "83e8ca0b8986f117",
3
+ "name": "duet",
4
+ "schema": 1,
5
+ "source": {
6
+ "clean": true,
7
+ "commit": "85178c4f77877fab7cb1f835eb40692064dc45ab"
8
+ },
9
+ "verification": {
10
+ "contract": 1
11
+ },
12
+ "version": "1.5.0",
13
+ "wheel": "duet-1.5.0-py3-none-any.whl",
14
+ "wheel_sha256": "61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3"
15
+ }
package/bin/duet CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Generated by duet.npm for @guidanti/duet 1.4.0.
2
+ # Generated by duet.npm for @guidanti/duet 1.5.0.
3
3
  #
4
4
  # This is the whole of what npm puts on your PATH. It invokes no
5
5
  # Node, no npm and no source checkout: it finds the managed
@@ -43,14 +43,14 @@ set_up_here() {
43
43
  [ -f "$1" ] || return 1
44
44
  while IFS= read -r line; do
45
45
  case "$line" in
46
- *'"wheel_sha256": "050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0"'*) return 0 ;;
46
+ *'"wheel_sha256": "61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3"'*) return 0 ;;
47
47
  esac
48
48
  done < "$1"
49
49
  return 1
50
50
  }
51
51
  if ! set_up_here "$root/npm.json"; then
52
52
  cat >&2 <<INCOMPLETE
53
- duet: @guidanti/duet 1.4.0 is installed and its setup did not finish.
53
+ duet: @guidanti/duet 1.5.0 is installed and its setup did not finish.
54
54
  The runtime this package carries is not under $root, so this
55
55
  command runs the managed runtime that is already there. Every run
56
56
  still reaches the build it was started on, and nothing has been
package/duet-npm.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "artifact": {
3
- "build_id": "6eeb9601aa13c96a",
4
- "sidecar": "duet-1.4.0.artifact.json",
3
+ "build_id": "83e8ca0b8986f117",
4
+ "sidecar": "duet-1.5.0.artifact.json",
5
5
  "verification": {
6
6
  "contract": 1
7
7
  },
8
- "wheel": "duet-1.4.0-py3-none-any.whl",
9
- "wheel_sha256": "050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0"
8
+ "wheel": "duet-1.5.0-py3-none-any.whl",
9
+ "wheel_sha256": "61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3"
10
10
  },
11
11
  "contents": {
12
12
  "LICENSE.md": "cbc7853b308655c45a049a2c8c53c0a5e556cee29229d80209cbe82a896b1d0e",
13
13
  "NOTICE.md": "95e6b3212b7a907e59befdca37999fd683cf02c94cc2d487df62b77c7c3ef2ba",
14
- "README.md": "3a7eed79f1088a0ac55a1c7c0ef4d58fb4c9b10d1930cbda1e05a2f7e2d526ec",
15
- "artifact/duet-1.4.0-py3-none-any.whl": "050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0",
16
- "artifact/duet-1.4.0.artifact.json": "3106f1c488fa08ff1c6b8748d6ab5f6135a3a91ccbeeb884cd40ba6c39192413",
17
- "bin/duet": "a8b3fcc5ccc87b2168ac6580c7629cb27f5ee4ee9b29273e3e63b7c904696403",
18
- "lib/setup.py": "8cfa2c9013c7eec1a4e681dd8408aa9431a3a84917ab15410575e4b350001cb0",
19
- "lib/setup.sh": "a6e46258d443077b8e135cf81fcd88312cf67eb21c8b6264d2e88b96cb9e0510",
20
- "package.json": "c31a6273afb3aaf9168014b8844bd08800a18be0fb8c9961c2ba8cf6b0ad82fb"
14
+ "README.md": "c3fdfa13c9051e70e413bc625cb0f89769b991578ecf40142443ee76ef2e00ed",
15
+ "artifact/duet-1.5.0-py3-none-any.whl": "61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3",
16
+ "artifact/duet-1.5.0.artifact.json": "496d48509454fcbac67694e734c92f549f4cf4d2bd6f922fa175a0b7f27ee9e9",
17
+ "bin/duet": "84fe3604ff7bd8863547d5695f6a89f6e2fb8e2eff93fdf65e977b16577b80d7",
18
+ "lib/setup.py": "07b3b0e5beb5e8b06a2e1eaff9e03bba99c237420e0c4c45b6d2494eb085c540",
19
+ "lib/setup.sh": "2caef6f3580e5f2ef8cca060dec33c6acb3001480e96bdef58b76de44ef092f3",
20
+ "package.json": "24d68e7e24278c524d92471be25f1b990421b8c714c176523ef0e60ebe122aba"
21
21
  },
22
22
  "notices": [
23
23
  "LICENSE.md",
@@ -27,7 +27,7 @@
27
27
  "schema": 1,
28
28
  "source": {
29
29
  "clean": true,
30
- "commit": "7ab0b471580f20fe28adc5ce75c8e8d6eba16b06"
30
+ "commit": "85178c4f77877fab7cb1f835eb40692064dc45ab"
31
31
  },
32
- "version": "1.4.0"
32
+ "version": "1.5.0"
33
33
  }
package/lib/setup.py CHANGED
@@ -1,21 +1,20 @@
1
- """Generated by duet.npm for @guidanti/duet 1.4.0.
1
+ """Generated by duet.npm for @guidanti/duet 1.5.0.
2
2
 
3
3
  The install script's Python half: check the bundled artifact against
4
4
  the digest this file was generated with, import the installer out of
5
5
  those same bytes, and run it. Nothing here verifies an artifact
6
- itself, creates an environment, or writes outside the installation
7
- root the installer resolves."""
6
+ itself or creates an environment."""
8
7
 
9
8
  import hashlib
10
9
  import os
11
10
  import sys
12
11
 
13
12
  PACKAGE = '@guidanti/duet'
14
- PACKAGE_VERSION = '1.4.0'
13
+ PACKAGE_VERSION = '1.5.0'
15
14
  HERE = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
16
- WHEEL = os.path.join(HERE, 'artifact', 'duet-1.4.0-py3-none-any.whl')
17
- SIDECAR = os.path.join(HERE, 'artifact', 'duet-1.4.0.artifact.json')
18
- WHEEL_SHA256 = '050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0'
15
+ WHEEL = os.path.join(HERE, 'artifact', 'duet-1.5.0-py3-none-any.whl')
16
+ SIDECAR = os.path.join(HERE, 'artifact', 'duet-1.5.0.artifact.json')
17
+ WHEEL_SHA256 = '61f0626957faee80d5b409dcc11fdfcfa1032b015c21fd15592d5f82cb5ee1d3'
19
18
 
20
19
 
21
20
  def refuse(message, *lines):
package/lib/setup.sh CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Generated by duet.npm for @guidanti/duet 1.4.0.
2
+ # Generated by duet.npm for @guidanti/duet 1.5.0.
3
3
  #
4
4
  # npm runs this once, after it has unpacked the package. It finds an
5
5
  # interpreter that can run the installer and hands over to it; the
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "scripts": {
24
24
  "postinstall": "/bin/sh lib/setup.sh"
25
25
  },
26
- "version": "1.4.0"
26
+ "version": "1.5.0"
27
27
  }
@@ -1,15 +0,0 @@
1
- {
2
- "build_id": "6eeb9601aa13c96a",
3
- "name": "duet",
4
- "schema": 1,
5
- "source": {
6
- "clean": true,
7
- "commit": "7ab0b471580f20fe28adc5ce75c8e8d6eba16b06"
8
- },
9
- "verification": {
10
- "contract": 1
11
- },
12
- "version": "1.4.0",
13
- "wheel": "duet-1.4.0-py3-none-any.whl",
14
- "wheel_sha256": "050af5f89a7593660fd11a530073284a656d54bede1cbf575d64eb9d8f0090f0"
15
- }