git-vibe-setup 2.0.0 → 3.0.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/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "git-vibe-setup",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
7
- "git-vibe-setup": "./dist/cli.js"
7
+ "git-vibe-setup": "dist/cli.js"
8
8
  },
9
9
  "files": [
10
10
  "dist",
@@ -12,7 +12,7 @@
12
12
  "README.md"
13
13
  ],
14
14
  "scripts": {
15
- "build": "tsc --project tsconfig.build.json",
15
+ "build": "tsc --project tsconfig.build.json && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"",
16
16
  "check": "prettier --check . && eslint . && corepack pnpm typecheck && corepack pnpm test && corepack pnpm build",
17
17
  "test": "vitest run",
18
18
  "typecheck": "tsc --project tsconfig.json --noEmit"
@@ -2,42 +2,97 @@
2
2
 
3
3
  version: 1
4
4
 
5
- branches:
6
- base: ""
5
+ permissions:
6
+ # Users with write, maintain, or admin can approve automation.
7
+ approver_roles:
8
+ - write
9
+ - maintain
10
+ - admin
7
11
 
8
- runner:
9
- default: ubuntu-latest
12
+ labels:
13
+ story: gvi:story
14
+ needs_discussion: gvi:needs-discussion
15
+ investigate: git-vibe:investigate
16
+ investigating: gvi:investigating
17
+ investigated: gvi:investigated
18
+ ready_for_approval: gvi:ready-for-approval
19
+ approved: git-vibe:approved
20
+ review: git-vibe:review
21
+ reviewing: gvi:reviewing
22
+ in_progress: gvi:in-progress
23
+ blocked: gvi:blocked
24
+ pr_opened: gvi:pr-opened
25
+ pr_approved: gvi:pr-approved
26
+ pr_merged: gvi:pr-merged
27
+ validate: git-vibe:validate
28
+ validating: gvi:validating
29
+ validated: gvi:validated
30
+
31
+ commands:
32
+ prefix: /git-vibe
33
+ allow_external_agent_mentions: false
34
+
35
+ event_delivery:
36
+ # webhook: repository webhook points at the self-hosted GitVibe server.
37
+ # relay: webhook proxy/tunnel such as Smee, Hookdeck, Cloudflare Tunnel, or ngrok.
38
+ # actions: no-server receiver workflows in the consumer repository.
39
+ # polling: local/scheduled worker polls GitHub APIs with cursors/ETags.
40
+ mode: webhook
41
+ relay:
42
+ provider: smee
43
+ # GitHub Actions Secret name. Relay URLs may contain delivery tokens; do not commit the real URL.
44
+ url_secret: GITVIBE_RELAY_URL
45
+ actions_receiver:
46
+ enabled: false
47
+ scheduled_scan: "*/15 * * * *"
48
+ polling:
49
+ enabled: false
50
+ interval_seconds: 300
10
51
 
11
52
  github_auth:
53
+ # Self-hosted default: the GitVibe server uses a fine-grained PAT scoped to this repository.
12
54
  mode: webhook-pat
13
55
  # GitHub Actions Secret name. Stores the GitHub write token.
14
56
  token_secret: GITVIBE_GITHUB_TOKEN
15
57
 
58
+ tests:
59
+ commands: []
60
+
16
61
  ai:
17
- default_profile: local_proxy
62
+ security:
63
+ web:
64
+ # Default for public repositories: let AI search current GitHub project material only.
65
+ # Add domains only for websites the repository owner trusts AI to search and fetch.
66
+ allowed_domains: []
67
+ # - github.com
68
+ # - "*.github.com"
18
69
  profiles:
19
70
  local_proxy:
20
- enabled: true
21
71
  adapter: ai-sdk-agentool
72
+ # Optional: set to the selected model's context window.
73
+ # context_window_tokens: 128000
22
74
  provider:
23
- type: openai-compatible # openai | anthropic | openai-compatible
75
+ # openai, anthropic, or openai-compatible.
76
+ type: openai-compatible
24
77
  # Model names are configuration, not credentials.
25
78
  model: glm-5
26
- # Keys inside GITVIBE_AI_ENV_JSON.
79
+ # Keys inside GITVIBE_AI_ENV_JSON. Store provider credentials and endpoints there.
27
80
  base_url:
28
81
  from_bundle: GITVIBE_AI_BASE_URL
29
82
  api_key:
30
83
  from_bundle: GITVIBE_AI_API_KEY
31
84
  reasoning:
32
85
  effort: high
33
- generation:
34
- temperature: 0.2
35
- max_output_tokens: 6000
36
- max_steps: 90
86
+ provider_options:
87
+ openai:
88
+ reasoningEffort: high
89
+ reasoningSummary: concise
90
+ anthropic:
91
+ effort: high
37
92
  codex_cli:
38
- enabled: false
39
93
  adapter: cli-codex
40
- # Key inside GITVIBE_AI_ENV_JSON. Stores compact auth.json contents.
94
+ # Key inside GITVIBE_AI_ENV_JSON. Stores escaped auth.json text from jq -Rs .
95
+ # Requires GITVIBE_GITHUB_TOKEN repository Secrets read/write permission for refresh write-back.
41
96
  auth_json:
42
97
  from_bundle: CODEX_AUTH_JSON
43
98
  model: gpt-5.3-codex
@@ -45,7 +100,6 @@ ai:
45
100
  effort: high
46
101
  summary: concise
47
102
  claude_code:
48
- enabled: false
49
103
  adapter: cli-claude-code
50
104
  # Key inside GITVIBE_AI_ENV_JSON. Stores the Claude Code OAuth access token.
51
105
  env:
@@ -67,39 +121,30 @@ ai:
67
121
  profile: local_proxy
68
122
  budgets:
69
123
  default_timeout_minutes: 60
124
+ review_timeout_minutes: 60
70
125
  implementation_timeout_minutes: 120
71
126
  feedback_timeout_minutes: 120
72
- publish_timeout_minutes: 15
127
+ create_pr_timeout_minutes: 15
73
128
  default_max_turns: 90
74
- implementation_max_turns: 120
129
+ implementation_max_turns: 200
75
130
  feedback_max_turns: 120
131
+ validation_repair_attempts: 3
132
+ validation_repair_max_turns: 45
133
+ pr_feedback_max_iterations: 3
134
+ request_retry_attempts: 3
135
+ request_retry_delay_seconds: 60
76
136
  stages:
77
137
  investigate:
78
138
  role_group: review_gate
79
139
  validate:
80
140
  role_group: review_gate
81
- decompose:
82
- profile: local_proxy
83
141
  materialize:
84
142
  profile: local_proxy
85
- review-matrix:
86
- role_group: review_gate
87
143
  implement:
88
144
  profile: local_proxy
145
+ review-matrix:
146
+ role_group: review_gate
89
147
  create-pr:
90
148
  profile: local_proxy
91
149
  address-pr-feedback:
92
150
  profile: local_proxy
93
-
94
- bug_investigation:
95
- auto_start_on_new_bug: false
96
- community_trigger:
97
- enabled: false
98
- reaction: "+1"
99
- threshold: 6
100
- eligible_labels:
101
- - git-vibe:bug
102
- dispatch: investigate
103
-
104
- tests:
105
- commands: []
@@ -21,7 +21,7 @@ on:
21
21
 
22
22
  jobs:
23
23
  address-feedback:
24
- uses: markhuangai/git-vibe/.github/workflows/address-feedback.yml@v2
24
+ uses: markhuangai/git-vibe/.github/workflows/address-feedback.yml@v3
25
25
  with:
26
26
  pr-number: ${{ inputs.pr-number }}
27
27
  runner: ubuntu-latest
@@ -21,13 +21,13 @@ on:
21
21
 
22
22
  jobs:
23
23
  develop:
24
- uses: markhuangai/git-vibe/.github/workflows/develop.yml@v2
24
+ uses: markhuangai/git-vibe/.github/workflows/develop.yml@v3
25
25
  with:
26
26
  issue-number: ${{ inputs.issue-number }}
27
27
  runner: ubuntu-latest
28
28
  implementation_timeout_minutes: 120
29
29
  review_timeout_minutes: 60
30
- publish_timeout_minutes: 15
30
+ create_pr_timeout_minutes: 15
31
31
  max_turns: 90
32
32
  implementation_max_turns: 120
33
33
  validation_repair_attempts: 2
@@ -21,7 +21,7 @@ on:
21
21
 
22
22
  jobs:
23
23
  investigate:
24
- uses: markhuangai/git-vibe/.github/workflows/investigate.yml@v2
24
+ uses: markhuangai/git-vibe/.github/workflows/investigate.yml@v3
25
25
  with:
26
26
  issue-number: ${{ inputs.issue-number }}
27
27
  runner: ubuntu-latest
@@ -21,7 +21,7 @@ on:
21
21
 
22
22
  jobs:
23
23
  materialize:
24
- uses: markhuangai/git-vibe/.github/workflows/materialize.yml@v2
24
+ uses: markhuangai/git-vibe/.github/workflows/materialize.yml@v3
25
25
  with:
26
26
  discussion-number: ${{ inputs.discussion-number }}
27
27
  runner: ubuntu-latest
@@ -1,11 +1,11 @@
1
- name: GitVibe decompose
2
- run-name: "[git-vibe][decompose]: Discussion #${{ inputs.discussion-number }}"
1
+ name: GitVibe review
2
+ run-name: "[git-vibe][review]: PR #${{ inputs.pr-number }}"
3
3
 
4
4
  on:
5
5
  workflow_dispatch:
6
6
  inputs:
7
- discussion-number:
8
- description: Discussion number to decompose.
7
+ pr-number:
8
+ description: Pull request number to review.
9
9
  required: true
10
10
  type: string
11
11
  dry-run:
@@ -20,10 +20,10 @@ on:
20
20
  default: ""
21
21
 
22
22
  jobs:
23
- decompose:
24
- uses: markhuangai/git-vibe/.github/workflows/decompose.yml@v2
23
+ review:
24
+ uses: markhuangai/git-vibe/.github/workflows/review.yml@v3
25
25
  with:
26
- discussion-number: ${{ inputs.discussion-number }}
26
+ pr-number: ${{ inputs.pr-number }}
27
27
  runner: ubuntu-latest
28
28
  timeout_minutes: 60
29
29
  max_turns: 90
@@ -27,7 +27,7 @@ on:
27
27
 
28
28
  jobs:
29
29
  validate:
30
- uses: markhuangai/git-vibe/.github/workflows/validate.yml@v2
30
+ uses: markhuangai/git-vibe/.github/workflows/validate.yml@v3
31
31
  with:
32
32
  issue-number: ${{ inputs.issue-number }}
33
33
  discussion-number: ${{ inputs.discussion-number }}