The developer decided on 23 Oct to drop the hand-off to an AI assistant outside the app, and Claude's connector with it, in v0.19.0, the app and the server together: build 22 raises minimumAppBuild anyway, so no app calling the connector's endpoints uses the instance after it. An instance is to have one way to an assistant, its operator's (ADR 0021, proposed). The app: the field at the foot of Home, and the button in the Library, on a studyset and while studying, search the web alone, through the engine chosen in Settings or Android's own search, with the parts of a card the person picks; a studyset's name and description are never offered. Gone: the assistants a question opened in (AiAssistant, AssistantHandOff), the switch between them and the web, Settings' choice of assistant, Connect Claude with its route, cubit, repository and gateway, and their texts. A settings file from before keeps the old keys until the next change of a setting writes it anew; nothing reads them. The server: lib/src/assistant/ (MCP, its OAuth, the five tools, connect codes and tokens), AssistantEndpoint, the daily forgetting of the connector's secrets (its scheduled call cancelled at start), its lines in the deletion hook, instance.info().assistantConnectorUrl (nullable, so an older app reads it as none), and Caddy's forwarding of /mcp, /oauth/* and /.well-known/oauth-*. The migration drops the connector's five tables, children first: DROP TABLE "assistant_token" CASCADE; -- tokens of a connection DROP TABLE "assistant_grant" CASCADE; -- OAuth codes of a connection DROP TABLE "assistant_connection" CASCADE; -- a person's connected client DROP TABLE "assistant_connect_code" CASCADE; DROP TABLE "assistant_client" CASCADE; -- OAuth clients registered No other table references them, so CASCADE drops only their own foreign keys. For the minute between the maintenance run and the switch, the old server answers the connector with errors and fails to delete an account (its hook still deletes from these tables); ADR 0022 says so. BREAKING CHANGE: a connected Claude gets no answer from the deploy on, and the app no longer opens a question in an AI assistant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
73 lines
No EOL
2 KiB
JSON
73 lines
No EOL
2 KiB
JSON
{
|
|
"__className__": "serverpod.DatabaseMigration",
|
|
"actions": [
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
|
"type": "deleteTable",
|
|
"deleteTable": "assistant_token"
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
|
"type": "deleteTable",
|
|
"deleteTable": "assistant_grant"
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
|
"type": "deleteTable",
|
|
"deleteTable": "assistant_connection"
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
|
"type": "deleteTable",
|
|
"deleteTable": "assistant_connect_code"
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationAction",
|
|
"type": "deleteTable",
|
|
"deleteTable": "assistant_client"
|
|
}
|
|
],
|
|
"warnings": [
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationWarning",
|
|
"type": "tableDropped",
|
|
"message": "Table \"assistant_token\" will be dropped.",
|
|
"table": "assistant_token",
|
|
"columns": [],
|
|
"destrucive": true
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationWarning",
|
|
"type": "tableDropped",
|
|
"message": "Table \"assistant_grant\" will be dropped.",
|
|
"table": "assistant_grant",
|
|
"columns": [],
|
|
"destrucive": true
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationWarning",
|
|
"type": "tableDropped",
|
|
"message": "Table \"assistant_connection\" will be dropped.",
|
|
"table": "assistant_connection",
|
|
"columns": [],
|
|
"destrucive": true
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationWarning",
|
|
"type": "tableDropped",
|
|
"message": "Table \"assistant_connect_code\" will be dropped.",
|
|
"table": "assistant_connect_code",
|
|
"columns": [],
|
|
"destrucive": true
|
|
},
|
|
{
|
|
"__className__": "serverpod.DatabaseMigrationWarning",
|
|
"type": "tableDropped",
|
|
"message": "Table \"assistant_client\" will be dropped.",
|
|
"table": "assistant_client",
|
|
"columns": [],
|
|
"destrucive": true
|
|
}
|
|
],
|
|
"migrationApiVersion": 1
|
|
} |