Commit graph

747 commits

Author SHA1 Message Date
Nate
be21d5cd43 fix: windows test failure 2025-08-09 11:41:01 -04:00
Nate
ac3b3c3ff0 add .next to list of folders to ignore 2025-08-09 11:33:08 -04:00
Nate
e9f053eaf0 fix: plan mode switching 2025-08-09 11:20:54 -04:00
Nate Sesti
9100a37cfb
Merge pull request #170 from continuedev/idempotency-key
feat: idempotency key
2025-08-09 06:20:18 -07:00
Nate
692b2e0d6b chore: prettier format 2025-08-09 09:14:24 -04:00
Nate Sesti
57eded4787
Merge branch 'main' into idempotency-key 2025-08-09 06:08:53 -07:00
Tomasz Stefaniak
37717b4c09
Merge pull request #162 from continuedev/tomasz/prettier
Prettier
2025-08-08 18:00:34 -07:00
Tomasz Stefaniak
d0dfb86756 improv: checks 2025-08-08 13:23:42 -07:00
Tomasz Stefaniak
fda6c3b508 fix: formatting 2025-08-08 13:05:40 -07:00
Tomasz Stefaniak
fcc12bce61 chore: package-lock 2025-08-08 13:05:25 -07:00
Tomasz Stefaniak
674c0954cd Merge branch 'main' into tomasz/prettier 2025-08-08 13:05:02 -07:00
Tomasz Stefaniak
af3527e7d2 chore: package-lock 2025-08-08 13:03:39 -07:00
Tomasz Stefaniak
33eaa6df4a feat: prettier 2025-08-08 12:58:23 -07:00
Tomasz Stefaniak
a96170cef8
Add --org flag to headless mode to allow org selection (#166)
* feat: select org

* feat: make it possible to use org by slug

* improv: clean up

* fix: types

* improv: comment

* fix: add discriminator

* improv: comment

* fix: types

* improv: clean up

* test: org flag

* improv: clean up

* fix: test

* improv: clean up

* Update src/shared-options.ts

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-08-08 12:50:54 -07:00
Nate
8729cc4e62 fix: remote test 2025-08-08 11:43:28 -04:00
Nate Sesti
ddffaf643a
Merge pull request #171 from continuedev/at-continuedev
Update workflow to respond to @continuedev mentions instead of cubic-dev-ai comments
2025-08-08 08:37:35 -07:00
Nate
0adfea4a0d feat: detect GH repo 2025-08-08 11:34:29 -04:00
Nate
b26458ea08 Update workflow to respond to @continuedev mentions instead of cubic-dev-ai comments 2025-08-08 11:21:07 -04:00
Nate
6965584e4a feat: idempotency key 2025-08-08 11:08:10 -04:00
Nate Sesti
4a22a641e3
Merge pull request #168 from continuedev/auto-fix-feedback
Auto-fix-feedback
2025-08-07 18:38:02 -07:00
Nate
22aa2f7784 acknowledge cubic ai comments 2025-08-07 21:30:35 -04:00
Nate
5f5a73a291 fix: include items in tool definitions for arrays 2025-08-07 21:22:46 -04:00
Nate
fcd9b83ff0 fix: build without vitest.setup.js 2025-08-07 21:10:12 -04:00
Tomasz Stefaniak
5235dbc31f
Merge pull request #164 from continuedev/tomasz/switch-orgs
Switching orgs
2025-08-07 13:05:02 -07:00
Tomasz Stefaniak
eceaf81c61 test: navigation 2025-08-07 08:25:19 -07:00
Tomasz Stefaniak
2e4746e4d5 fix: tests 2025-08-07 08:00:44 -07:00
Tomasz Stefaniak
1c746a625a fix: lint 2025-08-06 15:59:56 -07:00
Tomasz Stefaniak
05006c00cd fix: org switching 2025-08-06 15:47:52 -07:00
Tomasz Stefaniak
09439f3a39 improv: clean up 2025-08-06 15:14:53 -07:00
Tomasz Stefaniak
d808c70086 improv: navigation 2025-08-06 13:57:20 -07:00
Tomasz Stefaniak
02e61b7013 improv: cleanup 2025-08-06 11:32:40 -07:00
Tomasz Stefaniak
1b27188666 improv: navivgation 2025-08-06 11:26:23 -07:00
Tomasz Stefaniak
e9e4c9dd91 feat: org switching 2025-08-06 10:20:48 -07:00
Tomasz Stefaniak
da7ce56cb5
Merge pull request #154 from continuedev/fix/eventmitter-memory-leak-warnings
fix: eliminate EventEmitter memory leak warnings in ModeService
2025-08-06 09:47:24 -07:00
Tomasz Stefaniak
746d71324e improv: switch orgs 2025-08-06 09:37:29 -07:00
Tomasz Stefaniak
686d106fb8
Merge pull request #148 from continuedev/audit-command-line-flags
Audit and refactor command line flags
2025-08-05 23:35:43 -07:00
Tomasz Stefaniak
da655bede9 Merge branch 'main' into audit-command-line-flags 2025-08-05 23:30:08 -07:00
Tomasz Stefaniak
7a33f12ce7
Merge pull request #147 from continuedev/fix-config-flag-ignored
Fix --config flag being ignored and falling back silently
2025-08-05 23:20:41 -07:00
Tomasz Stefaniak
d380aa78a4
Merge pull request #126 from continuedev/sentry
Add Sentry integration for error monitoring and performance tracking
2025-08-05 23:18:41 -07:00
Tomasz Stefaniak
bd9b09530c fix: imports 2025-08-05 23:11:39 -07:00
Tomasz Stefaniak
71e04946b5 fix: missing files 2025-08-05 23:07:47 -07:00
Tomasz Stefaniak
df496c0765 fix: lint 2025-08-05 23:04:26 -07:00
Tomasz Stefaniak
f55cba4e43 Merge branch 'main' into sentry 2025-08-05 22:55:33 -07:00
Tomasz Stefaniak
e29a1de632
Merge pull request #125 from continuedev/release-updates
Add beta/stable release workflow with 7-day promotion cycle
2025-08-05 22:53:17 -07:00
Patrick Erichsen
e0dd68f069 fix: Fix failing tests in CI environment by adding proper mocks
The initializeServices tests were failing in CI with "Response returned an
error code" because the refactored function now calls onboarding/auth modules
that make real API calls.

Changes:
- Added mocks for onboarding.js and auth/workos.js modules
- Enhanced modeService mock to include getToolPermissionService method
- Added serviceContainer mocks to prevent real service initialization
- Updated all test cases to use headless: true to skip onboarding flow
- Fixed test expectations to include isHeadless parameter

This ensures tests run in isolation without making network requests,
preventing CI failures due to authentication or network issues.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 17:05:43 -07:00
Patrick Erichsen
0f377203e5 fix: Improve Windows path detection in configLoader
Enhanced isFilePath function to properly detect Windows absolute paths,
UNC paths, and paths with file extensions. This fixes test failures on
Windows where paths like "C:\Users\..." were incorrectly treated as
assistant slugs instead of file paths.

Changes:
- Added Windows drive letter pattern detection (C:\, D:\, etc.)
- Added UNC path detection (\\server\share)
- Added file extension detection (.yaml, .yml, .json)

Fixes Windows CI test failure: "Invalid assistant slug format" error
when --config points to non-existent Windows file paths.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:59:25 -07:00
Patrick Erichsen
16c01b3507 fix: Add TTY environment detection to prevent CI failures
Added comprehensive environment detection in runOnboardingFlow to skip
interactive prompts in test/CI environments. Detects:
- NODE_ENV=test
- CI=true
- VITEST=true
- GITHUB_ACTIONS=true
- \!process.stdin.isTTY

This prevents "The current environment doesn't support interactive
reading from TTY" errors in GitHub Actions CI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:57:15 -07:00
Patrick Erichsen
3549ba75e1 Fix CI test failures due to onboarding TTY issues
- Add environment detection in runOnboardingFlow to skip interactive prompts in CI/test environments
- Check for NODE_ENV=test, CI=true, VITEST=true, or lack of TTY
- Prevents "The current environment doesn't support interactive reading from TTY" errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:49:44 -07:00
Patrick Erichsen
9218172625 fix: resolve remaining ESLint issues in audit-command-line-flags
- Fix import order issues across multiple files
- Remove unused imports (loadAuthConfig, ValidationOptions)
- Add proper import group separations
- All lint checks and tests now pass

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:33:27 -07:00
Patrick Erichsen
12c246cfd7 Fix import order issues in onboarding.test.ts
ESLint was reporting import order violations. Fixed by running
eslint --fix which properly ordered the imports according to
the project's import order rules.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:19:44 -07:00