Skip to content

Commit 008609d

Browse files
committed
chore: sync desktop source
2 parents da290c7 + 50e0ebc commit 008609d

99 files changed

Lines changed: 3838 additions & 736 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/desktop-develop/SKILL.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

.agents/skills/desktop-develop/references/harness-principles.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.env.example

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Required: Anthropic API Key for Claude
2+
ANTHROPIC_API_KEY=sk-ant-...
3+
4+
# Required: Craft MCP Server URL
5+
# Format: http://localhost:3000/v1/links/{secretLinkId}/mcp
6+
CRAFT_MCP_URL=http://localhost:3000/v1/links/YOUR_SECRET_LINK_ID/mcp
7+
8+
# Required: Bearer token for MCP authentication
9+
CRAFT_MCP_TOKEN=your-bearer-token-here
10+
11+
# Google OAuth Configuration (OPTIONAL - for development/testing only)
12+
# For production use, users should provide their own credentials via source configuration.
13+
# These env vars serve as a fallback if source config doesn't specify credentials.
14+
# See README_FOR_OSS.md for setup instructions.
15+
# To create credentials: Google Cloud Console > APIs & Services > Credentials > Desktop app
16+
# GOOGLE_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
17+
# GOOGLE_OAUTH_CLIENT_SECRET=your-client-secret
18+
19+
# Slack OAuth Configuration (for Slack workspace integration)
20+
# Get these from Slack API > Your Apps > OAuth & Permissions
21+
SLACK_OAUTH_CLIENT_ID=your-slack-client-id
22+
SLACK_OAUTH_CLIENT_SECRET=your-slack-client-secret
23+
24+
# Microsoft OAuth Configuration (for Outlook, OneDrive, Teams integration)
25+
# Get these from Azure Portal > App Registrations
26+
# Note: Create a "Mobile and desktop applications" platform OAuth client - PKCE is used so no client_secret is needed
27+
MICROSOFT_OAUTH_CLIENT_ID=your-microsoft-client-id
28+
29+
# Sentry Error Tracking (captures crashes and chat/SDK errors)
30+
# Get the ingest URL from Sentry > Project Settings > Client Keys (DSN)
31+
SENTRY_ELECTRON_INGEST_URL=https://your-public-key@o0.ingest.sentry.io/0

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Bug Report
2-
description: Report a bug or unexpected behavior in OpenWork
2+
description: Report a bug or unexpected behavior in Craft Agents
33
labels: ["bug"]
44
body:
55
- type: markdown
@@ -10,7 +10,7 @@ body:
1010
- type: input
1111
id: version
1212
attributes:
13-
label: OpenWork Version
13+
label: Craft Agents Version
1414
description: "Found in Settings or the title bar (e.g. 0.4.6)"
1515
placeholder: "0.4.6"
1616
validations:
@@ -113,7 +113,7 @@ body:
113113
description: |
114114
For **non-UI issues** (crashes, errors, connection problems), please attach relevant logs from a debug session.
115115
116-
Launch the app with `-- --debug` and reproduce the issue.
116+
Launch the app with `-- --debug` and reproduce the issue. See the [Troubleshooting section in the README](https://github.com/lukilabs/craft-agents-oss#troubleshooting) for platform-specific commands and log file locations.
117117
render: shell
118118

119119
- type: textarea

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body:
55
- type: markdown
66
attributes:
77
value: |
8-
Have an idea for OpenWork? We'd love to hear it!
8+
Have an idea for Craft Agents? We'd love to hear it!
99
1010
- type: textarea
1111
id: problem
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Validate Server (Integration)
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
validate-server:
8+
strategy:
9+
fail-fast: true
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
runs-on: ${{ matrix.os }}
13+
name: validate-server (${{ matrix.os }})
14+
timeout-minutes: 15
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Bun
21+
uses: oven-sh/setup-bun@v2
22+
with:
23+
bun-version: "1.3.10"
24+
25+
- name: Install dependencies
26+
run: bun install --frozen-lockfile
27+
28+
- name: Run --validate-server (includes automation conditions pass/fail)
29+
env:
30+
ANTHROPIC_API_KEY: ${{ secrets.CRAFT_ANTHROPIC_API_KEY }}
31+
STITCH_API_KEY: ${{ secrets.STITCH_API_KEY }}
32+
run: bun run apps/cli/src/index.ts --validate-server --no-spinner --timeout 180000 --workspace-dir .github/agents

.github/workflows/validate.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Validate
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: validate-${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
validate:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Bun
23+
uses: oven-sh/setup-bun@v2
24+
with:
25+
bun-version: "1.3.10"
26+
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v5
29+
30+
- name: Install dependencies
31+
run: bun install --frozen-lockfile
32+
33+
- name: Run validation suite
34+
run: bun run validate:ci

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dist
77
*.tgz
88
.build
99
apps/electron/release
10+
apps/electron/electron-builder.generated.yml
1011
apps/electron/resources/session-mcp-server/
1112
apps/electron/resources/pi-agent-server/
1213

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Our Pledge
44

5-
We are committed to providing a welcoming and inclusive environment for everyone who participates in OpenWork.
5+
We are committed to providing a welcoming and inclusive environment for everyone.
66

77
## Our Standards
88

@@ -15,11 +15,9 @@ We expect all participants to:
1515

1616
## Enforcement
1717

18-
OpenWork does not currently maintain a dedicated private conduct-reporting inbox.
18+
Instances of unacceptable behavior may be reported to: conduct@craft.do
1919

20-
If you need to report unacceptable behavior, please contact a repository maintainer through the current GitHub repository channels. If the report includes sensitive personal information, avoid posting those details publicly and ask a maintainer for a private contact path first.
21-
22-
Reports will be reviewed in good faith by the maintainers who are currently responsible for the project.
20+
All complaints will be reviewed and investigated promptly and fairly.
2321

2422
## Attribution
2523

0 commit comments

Comments
 (0)