Skip to content

Commit ff08046

Browse files
committed
Migrate site, api, database, runtime, server packages to OSS
- Copy database, runtime, api, site, server packages from blink.so - Replace MIT LICENSE with AGPL-3.0 from coder/coder - Remove billing pages from site - Stub out compute-protocol-worker and billing dependencies - Remove ai-gateway tests (billing-dependent) - Update root package.json with new workspaces and scripts - Update CI workflow to build new packages - Add prettier-plugin-organize-imports - Copy root files: schema.sql, bunfig.toml, scripts/db.ts, .env.example, AGENTS.md - Merge .gitignore with blink.so patterns - Rename packages/cli to blink-cli to avoid conflict - Remove example/template data directories (contained secrets)
1 parent 45974e3 commit ff08046

File tree

543 files changed

+316507
-123
lines changed

Some content is hidden

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

543 files changed

+316507
-123
lines changed

.blink/data/build/agent.js

Lines changed: 181991 additions & 0 deletions
Large diffs are not rendered by default.

.blink/data/build/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "module"
3+
}

.blink/data/chats/1c4d281b-12cf-44c1-bc03-d9fb4ea32eea.json

Lines changed: 266 additions & 0 deletions
Large diffs are not rendered by default.

.blink/data/chats/2e3177ce-eb72-484d-a2a4-cf9a7ccb60c7.json

Lines changed: 239 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
{
2+
"id": "305797f6-8e6e-4ed6-a144-55907bc4c690",
3+
"created_at": "2025-10-07T11:36:29.681Z",
4+
"updated_at": "2025-10-07T11:36:53.386Z",
5+
"messages": [
6+
{
7+
"created_at": "2025-10-07T11:36:29.681Z",
8+
"id": "0e1086ce-c49d-4eeb-97d2-da44d6d2743a",
9+
"role": "user",
10+
"parts": [
11+
{
12+
"type": "text",
13+
"text": "hi"
14+
}
15+
],
16+
"mode": "run",
17+
"metadata": {
18+
"options": {
19+
"model": "sonnet"
20+
}
21+
}
22+
},
23+
{
24+
"created_at": "2025-10-07T11:36:30.884Z",
25+
"id": "0ab2e972-ef78-4b7e-be49-1e967d3df82c",
26+
"role": "user",
27+
"parts": [
28+
{
29+
"type": "text",
30+
"text": "hello"
31+
}
32+
],
33+
"mode": "run",
34+
"metadata": {
35+
"options": {
36+
"model": "sonnet"
37+
}
38+
}
39+
},
40+
{
41+
"id": "53c3c438-9749-4122-8444-e6a30af71c17",
42+
"created_at": "2025-10-07T11:36:33.975Z",
43+
"role": "assistant",
44+
"parts": [
45+
{
46+
"type": "step-start"
47+
},
48+
{
49+
"type": "text",
50+
"text": "Hi! 👋 \n\nHow can I help you with the Blink monorepo today?",
51+
"state": "done"
52+
}
53+
],
54+
"mode": "run",
55+
"metadata": {
56+
"usage": {
57+
"inputTokens": 4,
58+
"outputTokens": 25,
59+
"totalTokens": 29,
60+
"cachedInputTokens": 12285
61+
},
62+
"model": "claude-sonnet-4-5-20250929",
63+
"totalUsage": {
64+
"inputTokens": 4,
65+
"outputTokens": 25,
66+
"totalTokens": 29,
67+
"cachedInputTokens": 12285
68+
}
69+
}
70+
},
71+
{
72+
"created_at": "2025-10-07T11:36:36.786Z",
73+
"id": "a7aa3c71-36b8-43a0-a71d-0232e7d95304",
74+
"role": "user",
75+
"parts": [
76+
{
77+
"type": "text",
78+
"text": "hello how r u"
79+
}
80+
],
81+
"mode": "run",
82+
"metadata": {
83+
"options": {
84+
"model": "sonnet"
85+
}
86+
}
87+
},
88+
{
89+
"id": "a17fc35c-b63a-434d-a69b-8a604bee452e",
90+
"created_at": "2025-10-07T11:36:40.617Z",
91+
"role": "assistant",
92+
"parts": [
93+
{
94+
"type": "step-start"
95+
},
96+
{
97+
"type": "text",
98+
"text": "I'm doing well, thanks! Ready to help you with anything in the Blink monorepo - whether it's fixing bugs, adding features, running tests, or exploring the codebase. What would you like to work on?",
99+
"state": "done"
100+
}
101+
],
102+
"mode": "run",
103+
"metadata": {
104+
"usage": {
105+
"inputTokens": 4,
106+
"outputTokens": 52,
107+
"totalTokens": 56,
108+
"cachedInputTokens": 12608
109+
},
110+
"model": "claude-sonnet-4-5-20250929",
111+
"totalUsage": {
112+
"inputTokens": 4,
113+
"outputTokens": 52,
114+
"totalTokens": 56,
115+
"cachedInputTokens": 12608
116+
}
117+
}
118+
},
119+
{
120+
"created_at": "2025-10-07T11:36:43.932Z",
121+
"id": "d94e5515-095d-4582-904e-d2bf52f79581",
122+
"role": "user",
123+
"parts": [
124+
{
125+
"type": "text",
126+
"text": "thx nah we good"
127+
}
128+
],
129+
"mode": "run",
130+
"metadata": {
131+
"options": {
132+
"model": "sonnet"
133+
}
134+
}
135+
},
136+
{
137+
"created_at": "2025-10-07T11:36:48.578Z",
138+
"id": "f51b9277-2988-4926-a69f-8ae3771060aa",
139+
"role": "user",
140+
"parts": [
141+
{
142+
"type": "text",
143+
"text": "wubba"
144+
}
145+
],
146+
"mode": "run",
147+
"metadata": {
148+
"options": {
149+
"model": "sonnet"
150+
}
151+
}
152+
},
153+
{
154+
"created_at": "2025-10-07T11:36:51.450Z",
155+
"id": "e036bbe5-de50-48d7-89b7-5885d02842ec",
156+
"role": "user",
157+
"parts": [
158+
{
159+
"type": "text",
160+
"text": "asd"
161+
}
162+
],
163+
"mode": "run",
164+
"metadata": {
165+
"options": {
166+
"model": "sonnet"
167+
}
168+
}
169+
},
170+
{
171+
"created_at": "2025-10-07T11:36:52.179Z",
172+
"id": "88c2db3c-aa3e-4230-9ef2-d193ad7e6890",
173+
"role": "user",
174+
"parts": [
175+
{
176+
"type": "text",
177+
"text": "asd"
178+
}
179+
],
180+
"mode": "run",
181+
"metadata": {
182+
"options": {
183+
"model": "sonnet"
184+
}
185+
}
186+
},
187+
{
188+
"created_at": "2025-10-07T11:36:52.594Z",
189+
"id": "f4c9edf3-8f69-497f-b60e-a678134ddab3",
190+
"role": "user",
191+
"parts": [
192+
{
193+
"type": "text",
194+
"text": "asd"
195+
}
196+
],
197+
"mode": "run",
198+
"metadata": {
199+
"options": {
200+
"model": "sonnet"
201+
}
202+
}
203+
}
204+
]
205+
}

.blink/data/chats/425adb93-9f94-43c8-974e-6e6bcd7c0142.json

Lines changed: 6586 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)