Docs: public README, setup guide and architecture, generic deploy files, and the T3 Code notice
This commit is contained in:
1 parent
b08fd9bdb1
commit
f8241e42bb
13 files changed
+345
-301
No files matched your search
@@ -123,14 +123,14 @@ describe("buildSummary", () => {
|
||||
thread({ id: "c", status: "completed" }),
|
||||
thread({ id: "d", status: "running", lineage: { relationshipToParent: "subagent" } }),
|
||||
]),
|
||||
host("LittleMan", "offline", [
|
||||
host("VPS", "offline", [
|
||||
thread({ id: "e", title: "Older ask", pendingRuntimeRequest: { id: "q1", kind: "user_input", createdAt: at(5) } }),
|
||||
]),
|
||||
], new SummaryCache());
|
||||
expect(summary).toEqual({
|
||||
needsYou: 2,
|
||||
working: 1,
|
||||
next: { hostId: "LittleMan", threadId: "e", title: "Older ask", hostLabel: "LittleMan", request: null },
|
||||
next: { hostId: "VPS", threadId: "e", title: "Older ask", hostLabel: "VPS", request: null },
|
||||
current: { hostId: "Mac mini", threadId: "b", title: "Receipt OCR", activity: null },
|
||||
hostsOffline: 1,
|
||||
});
|
||||
@@ -139,10 +139,10 @@ describe("buildSummary", () => {
|
||||
|
||||
describe("routeKind", () => {
|
||||
it("tells direct, VPN and public routes apart", () => {
|
||||
expect(routeKind("http://desktop.gib:3773")).toBe("direct");
|
||||
expect(routeKind("http://192.168.2.2:3773")).toBe("direct");
|
||||
expect(routeKind("http://laptopvpn.gib:3773")).toBe("vpn");
|
||||
expect(routeKind("https://t3laptopvpn.gbrown.org")).toBe("public");
|
||||
expect(routeKind("http://desktop.lan:3773")).toBe("direct");
|
||||
expect(routeKind("http://10.0.0.2:3773")).toBe("direct");
|
||||
expect(routeKind("http://laptop-vpn.lan:3773")).toBe("vpn");
|
||||
expect(routeKind("https://t3-laptop-vpn.example.com")).toBe("public");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user