sigit-code 1.5.3__tar.gz → 1.5.4__tar.gz

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.
Files changed (87) hide show
  1. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-github.yml +35 -2
  2. {sigit_code-1.5.3 → sigit_code-1.5.4}/CHANGELOG.md +4 -0
  3. {sigit_code-1.5.3 → sigit_code-1.5.4}/Cargo.lock +1 -1
  4. {sigit_code-1.5.3 → sigit_code-1.5.4}/Cargo.toml +1 -1
  5. {sigit_code-1.5.3 → sigit_code-1.5.4}/PKG-INFO +1 -1
  6. {sigit_code-1.5.3 → sigit_code-1.5.4}/packaging/nfpm.yaml +3 -1
  7. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/AGENTS.md +0 -0
  8. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/agent-client-protocol/SKILL.md +0 -0
  9. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/ai-assisted-coding/SKILL.md +0 -0
  10. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/branding/SKILL.md +0 -0
  11. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/run-sigit/SKILL.md +0 -0
  12. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/run-sigit/driver.mjs +0 -0
  13. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/run-sigit/tui-smoke.sh +0 -0
  14. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/sigit-code-release/SKILL.md +0 -0
  15. {sigit_code-1.5.3 → sigit_code-1.5.4}/.agents/skills/tool-calling/SKILL.md +0 -0
  16. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/agent-client-protocol/SKILL.md +0 -0
  17. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/ai-assisted-coding/SKILL.md +0 -0
  18. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/branding/SKILL.md +0 -0
  19. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/run-sigit/SKILL.md +0 -0
  20. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/run-sigit/driver.mjs +0 -0
  21. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/run-sigit/tui-smoke.sh +0 -0
  22. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/sigit-code-release/SKILL.md +0 -0
  23. {sigit_code-1.5.3 → sigit_code-1.5.4}/.claude/skills/tool-calling/SKILL.md +0 -0
  24. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/ci.yml +0 -0
  25. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-aur.yml +0 -0
  26. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-crates.yml +0 -0
  27. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-homebrew.yml +0 -0
  28. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-mcp-registry.yml +0 -0
  29. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-npm.yml +0 -0
  30. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-nuget.yml +0 -0
  31. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-pypi.yml +0 -0
  32. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-scoop.yml +0 -0
  33. {sigit_code-1.5.3 → sigit_code-1.5.4}/.github/workflows/release-winget.yml +0 -0
  34. {sigit_code-1.5.3 → sigit_code-1.5.4}/.gitignore +0 -0
  35. {sigit_code-1.5.3 → sigit_code-1.5.4}/.nvmrc +0 -0
  36. {sigit_code-1.5.3 → sigit_code-1.5.4}/AGENTS.md +0 -0
  37. {sigit_code-1.5.3 → sigit_code-1.5.4}/CLAUDE.md +0 -0
  38. {sigit_code-1.5.3 → sigit_code-1.5.4}/LICENSE +0 -0
  39. {sigit_code-1.5.3 → sigit_code-1.5.4}/README.md +0 -0
  40. {sigit_code-1.5.3 → sigit_code-1.5.4}/docs/hooks.md +0 -0
  41. {sigit_code-1.5.3 → sigit_code-1.5.4}/docs/mcp.md +0 -0
  42. {sigit_code-1.5.3 → sigit_code-1.5.4}/examples/settings-with-hooks.toml +0 -0
  43. {sigit_code-1.5.3 → sigit_code-1.5.4}/examples/skills/README.md +0 -0
  44. {sigit_code-1.5.3 → sigit_code-1.5.4}/examples/skills/commit-message/SKILL.md +0 -0
  45. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/README.md.tmpl +0 -0
  46. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/package-main.json.tmpl +0 -0
  47. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/package.json.tmpl +0 -0
  48. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/scripts/render-main-package.cjs +0 -0
  49. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/scripts/render-platform-package.cjs +0 -0
  50. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/sigit/.gitignore +0 -0
  51. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/sigit/README.md +0 -0
  52. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/sigit/package.json +0 -0
  53. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/sigit/src/index.ts +0 -0
  54. {sigit_code-1.5.3 → sigit_code-1.5.4}/npm/sigit/tsconfig.json +0 -0
  55. {sigit_code-1.5.3 → sigit_code-1.5.4}/nuget/.gitignore +0 -0
  56. {sigit_code-1.5.3 → sigit_code-1.5.4}/nuget/sigit/Program.cs +0 -0
  57. {sigit_code-1.5.3 → sigit_code-1.5.4}/nuget/sigit/README.md +0 -0
  58. {sigit_code-1.5.3 → sigit_code-1.5.4}/nuget/sigit/SiGit.Code.csproj +0 -0
  59. {sigit_code-1.5.3 → sigit_code-1.5.4}/packaging/aur/PKGBUILD.in +0 -0
  60. {sigit_code-1.5.3 → sigit_code-1.5.4}/pypi/README.md +0 -0
  61. {sigit_code-1.5.3 → sigit_code-1.5.4}/pypi/pyproject.toml +0 -0
  62. {sigit_code-1.5.3 → sigit_code-1.5.4}/pyproject.toml +0 -0
  63. {sigit_code-1.5.3 → sigit_code-1.5.4}/rust-toolchain.toml +0 -0
  64. {sigit_code-1.5.3 → sigit_code-1.5.4}/server.json +0 -0
  65. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/account.rs +0 -0
  66. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/backend.rs +0 -0
  67. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/browser_auth.rs +0 -0
  68. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/chat.rs +0 -0
  69. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/commands.rs +0 -0
  70. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/credentials.rs +0 -0
  71. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/frontmatter.rs +0 -0
  72. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/headless.rs +0 -0
  73. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/hooks.rs +0 -0
  74. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/instructions.rs +0 -0
  75. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/main.rs +0 -0
  76. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/mcp.rs +0 -0
  77. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/models.rs +0 -0
  78. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/permissions.rs +0 -0
  79. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/provider.rs +0 -0
  80. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/session_store.rs +0 -0
  81. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/settings.rs +0 -0
  82. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/setup.rs +0 -0
  83. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/skills.rs +0 -0
  84. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/subagents.rs +0 -0
  85. {sigit_code-1.5.3 → sigit_code-1.5.4}/src/tools.rs +0 -0
  86. {sigit_code-1.5.3 → sigit_code-1.5.4}/tests/acp_permissions.rs +0 -0
  87. {sigit_code-1.5.3 → sigit_code-1.5.4}/tests/headless_mode.rs +0 -0
@@ -141,8 +141,41 @@ jobs:
141
141
  export PKG_VERSION="${RELEASE_VERSION}"
142
142
  export PKG_BINARY="./release/${PROJECT_NAME}-${{ matrix.name }}"
143
143
 
144
- /tmp/nfpm package --config packaging/nfpm.yaml --packager deb --target ./release/
145
- /tmp/nfpm package --config packaging/nfpm.yaml --packager rpm --target ./release/
144
+ # An empty version is worse than a hard failure here: nfpm accepts it
145
+ # and silently emits a "0.0.0~rc0" package that would be attached to
146
+ # the release. Same for a missing binary, which only surfaces as an
147
+ # opaque glob error. Fail loudly instead.
148
+ if [ -z "${PKG_VERSION}" ]; then
149
+ echo "RELEASE_VERSION is empty; refusing to build packages" >&2
150
+ exit 1
151
+ fi
152
+ if [ ! -f "${PKG_BINARY}" ]; then
153
+ echo "Staged binary ${PKG_BINARY} not found" >&2
154
+ exit 1
155
+ fi
156
+
157
+ # nfpm expands ${VAR} in most fields but NOT in contents.src, so the
158
+ # config is rendered up front and nfpm only ever sees literal values.
159
+ # envsubst comes from gettext-base, preinstalled on the Ubuntu runner
160
+ # images. The explicit variable list keeps it from clobbering any
161
+ # other shell-looking text added to the config later.
162
+ if ! command -v envsubst >/dev/null 2>&1; then
163
+ sudo apt-get update && sudo apt-get install -y gettext-base
164
+ fi
165
+
166
+ envsubst '${PKG_ARCH} ${PKG_VERSION} ${PKG_BINARY}' \
167
+ < packaging/nfpm.yaml > /tmp/nfpm.rendered.yaml
168
+
169
+ /tmp/nfpm package --config /tmp/nfpm.rendered.yaml --packager deb --target ./release/
170
+ /tmp/nfpm package --config /tmp/nfpm.rendered.yaml --packager rpm --target ./release/
171
+
172
+ # Guard against a packager silently producing nothing.
173
+ for ext in deb rpm; do
174
+ if ! compgen -G "./release/*.${ext}" >/dev/null; then
175
+ echo "No .${ext} produced" >&2
176
+ exit 1
177
+ fi
178
+ done
146
179
 
147
180
  ls -la ./release/
148
181
 
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.4
4
+
5
+ - **CI**: nfpm config expanded to include package version and binary path
6
+
3
7
  ## 1.5.3
4
8
 
5
9
  Adds browser-based sign-in, expands distribution channels to Windows (winget,
@@ -5778,7 +5778,7 @@ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
5778
5778
 
5779
5779
  [[package]]
5780
5780
  name = "sigit"
5781
- version = "1.5.3"
5781
+ version = "1.5.4"
5782
5782
  dependencies = [
5783
5783
  "agent-client-protocol",
5784
5784
  "anyhow",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "sigit"
3
- version = "1.5.3"
3
+ version = "1.5.4"
4
4
  edition = "2024"
5
5
  description = "siGit Code — ACP-compatible AI coding agent. Sí, git."
6
6
  documentation = "https://github.com/getsigit/sigit"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sigit-code
3
- Version: 1.5.3
3
+ Version: 1.5.4
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -7,7 +7,9 @@
7
7
  # config.
8
8
  #
9
9
  # PKG_ARCH and PKG_VERSION are set by release-github.yml; PKG_BINARY points at
10
- # the renamed binary already staged in release/.
10
+ # the renamed binary already staged in release/. nfpm does not expand env vars
11
+ # in contents.src, so release-github.yml renders this file with envsubst before
12
+ # invoking nfpm.
11
13
  name: sigit
12
14
  arch: ${PKG_ARCH}
13
15
  platform: linux
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes